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/2013-May/126158.html below:

[Python-Dev] Tightening up the specification for locals()

[Python-Dev] Tightening up the specification for locals() [Python-Dev] Tightening up the specification for locals()Antoine Pitrou solipsis at pitrou.net
Sun May 12 15:28:47 CEST 2013
On Sun, 12 May 2013 23:22:39 +1000
Nick Coghlan <ncoghlan at gmail.com> wrote:
> The exec case
> corresponds to those two instances, depending on whether the single
> namespace or dual namespace version is performed.

I don't get the point. exec() *passes* a locals dictionary, but the
compiled code itself isn't expected to use locals() as a way to access
(let alone mutate) that dictionary.

Regards

Antoine.

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