[Python-checkins] python/dist/src/Misc NEWS,1.1017,1.1018

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Fri Jul 2 02:41:08 EDT 2004


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18086/Misc

Modified Files:
	NEWS 
Log Message:
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.



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1017
retrieving revision 1.1018
diff -C2 -d -r1.1017 -r1.1018
*** NEWS	1 Jul 2004 11:01:27 -0000	1.1017
--- NEWS	2 Jul 2004 06:41:05 -0000	1.1018
***************
*** 13,16 ****
--- 13,18 ----
  -----------------
  
+ - Bug #215126.  The locals argument to eval() now accepts any mapping type.
+ 
  - marshal now shares interned strings. This change introduces
    a new .pyc magic.




More information about the Python-checkins mailing list