Message185349
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") |
|
| Date |
User |
Action |
Args |
| 2013-03-27 16:48:52 | techtonik | set | recipients:
+ techtonik, gvanrossum, georg.brandl, terry.reedy, pitrou, nedbat |
| 2013-03-27 16:48:52 | techtonik | set | messageid: <[email protected]> |
| 2013-03-27 16:48:52 | techtonik | link | issue7083 messages |
| 2013-03-27 16:48:52 | techtonik | create | |
|