]> granicus.if.org Git - python/commit
SF Bug #215126: Over restricted type checking on eval() function
authorRaymond Hettinger <python@rcn.com>
Fri, 2 Jul 2004 06:41:07 +0000 (06:41 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 2 Jul 2004 06:41:07 +0000 (06:41 +0000)
commit214b1c3aaea3e83302df9ea37a37b3c7548b92b1
tree4ddeda01308aec48c7edda3188a4aad84dc9435b
parent78bace7442bb89aa005950a1e37f71d4704d4cb6
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.
Doc/lib/libfuncs.tex
Include/frameobject.h
Lib/test/test_builtin.py
Lib/test/test_descrtut.py
Misc/NEWS
Objects/frameobject.c
Objects/object.c
Python/bltinmodule.c
Python/ceval.c