diff options
author | Raymond Hettinger <python@rcn.com> | 2004-07-02 06:41:07 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-07-02 06:41:07 (GMT) |
commit | 214b1c3aaea3e83302df9ea37a37b3c7548b92b1 (patch) | |
tree | 4ddeda01308aec48c7edda3188a4aad84dc9435b /Misc | |
parent | 78bace7442bb89aa005950a1e37f71d4704d4cb6 (diff) | |
download | cpython-214b1c3aaea3e83302df9ea37a37b3c7548b92b1.zip cpython-214b1c3aaea3e83302df9ea37a37b3c7548b92b1.tar.gz cpython-214b1c3aaea3e83302df9ea37a37b3c7548b92b1.tar.bz2 |
SF Bug #215126: Over restricted type checking on eval() function
The builtin eval() function now accepts any mapping for the locals argument.
Time sensitive steps guarded by PyDict_CheckExact() to keep from slowing
down the normal case. My timings so no measurable impact.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ What's New in Python 2.4 alpha 1? Core and builtins ----------------- +- Bug #215126. The locals argument to eval() now accepts any mapping type. + - marshal now shares interned strings. This change introduces a new .pyc magic. |