A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-May/157769.html below:

[Python-Dev] [PEP 558] thinking through locals() semantics

[Python-Dev] [PEP 558] thinking through locals() semantics [Python-Dev] [PEP 558] thinking through locals() semanticsNick Coghlan ncoghlan at gmail.com
Wed May 29 01:22:55 EDT 2019
On Wed., 29 May 2019, 2:29 pm Guido van Rossum, <guido at python.org> wrote:

> So why is it “hellish” for JITs if locals() returns a proxy, while
> frame.f_locals being a proxy is okay?
>

As I understand it, they already drop out of compiled mode if they detect
that the code is tinkering with frame objects.

Having a single locals() call de-optimize an entire function would be far
from ideal.

Cheers,
Nick.

)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190529/6ca64ae0/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4