➜

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.

作者 rhettinger
收信人 Grzegorz Krasoń, rhettinger, steven.daprano
日期 2019-08-04.20:27:53
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1564950474.03.0.326821516185.issue37646@roundup.psfhosted.org>
In-reply-to
内容
After more thought, I think the existing behavior is probably what we want.  There may not be a clean way to allow access and updates to non-locals.  Even if a way was found, it may tie our hands and preclude other implementation changes down the road.  Also, such a feature may be at odds with the current API which allows the execution environment to be retargeted.  There is also a risk of introducing new security issues.

I've attached a PR to update the eval() docs to reflect the actual behavior.
历史
日期 用户 动作 参数
2019-08-04 20:27:54rhettinger修改recipients: + rhettinger, steven.daprano, Grzegorz Krasoń
2019-08-04 20:27:54rhettinger修改messageid: <1564950474.03.0.326821516185.issue37646@roundup.psfhosted.org>
2019-08-04 20:27:54rhettinger链接issue37646 messages
2019-08-04 20:27:53rhettinger创建