This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author techtonik
Recipients georg.brandl, gvanrossum, nedbat, pitrou, techtonik, terry.reedy
Date 2013-03-27.16:48:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364402932.14.0.0125395062987.issue7083@psf.upfronthosting.co.za>
In-reply-to
Content
Attached localtest2.py where an empty locals() call changes behavior.

--- localtest.py        Wed Mar 27 19:48:06 2013
+++ localtest2.py       Wed Mar 27 19:45:19 2013
@@ -3,6 +3,7 @@
 def X():
     l = locals()
     i = "foo"
+    locals()
     print("Is 'i' in stored locals()? ", ('i' in l))

 print("Running normally")
History
Date User Action Args
2013-03-27 16:48:52techtoniksetrecipients: + techtonik, gvanrossum, georg.brandl, terry.reedy, pitrou, nedbat
2013-03-27 16:48:52techtoniksetmessageid: <1364402932.14.0.0125395062987.issue7083@psf.upfronthosting.co.za>
2013-03-27 16:48:52techtoniklinkissue7083 messages
2013-03-27 16:48:52techtonikcreate