Hacker News new | ask | show | jobs
The exec Statement and A Python Mystery (late.am)
12 points by dcrosta 5169 days ago
1 comments

Note also that the behavior changed in Python 3: exec is now a function, and changes to locals made through exec won't show up in the original scope.
Thanks -- I updated the post with a note about Py3k.