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 amishne
Recipients amishne, docs@python
Date 2014-07-24.13:59:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406210389.95.0.0796853252426.issue22057@psf.upfronthosting.co.za>
In-reply-to
Content
According to the documentation of eval():

> If the globals dictionary is present and lacks '__builtins__', the current globals are copied into globals before expression is parsed.

However in practice only the __builtins__ items are copied, see:

http://hg.python.org/cpython/file/2.7/Python/bltinmodule.c#l655

See http://stackoverflow.com/q/24934908/242762
History
Date User Action Args
2014-07-24 13:59:50amishnesetrecipients: + amishne, docs@python
2014-07-24 13:59:49amishnesetmessageid: <1406210389.95.0.0796853252426.issue22057@psf.upfronthosting.co.za>
2014-07-24 13:59:49amishnelinkissue22057 messages
2014-07-24 13:59:49amishnecreate