]> granicus.if.org Git - python/commitdiff
Update item
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 2 Aug 2004 12:09:58 +0000 (12:09 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 2 Aug 2004 12:09:58 +0000 (12:09 +0000)
Doc/whatsnew/whatsnew24.tex

index a2dbbb768157ab880e8aaeadc7177d342c1c6492..0edd2a949e2063cc4b39729f3794304bd33be6bc 100644 (file)
@@ -608,8 +608,10 @@ yellow 5
 \end{verbatim}
 
 \item The \function{eval(\var{expr}, \var{globals}, \var{locals})}
-function now accepts any mapping type for the \var{locals} argument.
-Previously this had to be a regular Python dictionary.
+and \function{execfile(\var{filename}, \var{globals}, \var{locals})}
+functions and the \keyword{exec} statement now accept any mapping type
+for the \var{locals} argument.  Previously this had to be a regular
+Python dictionary.  (Contributed by Raymond Hettinger.)
 
 \item The \function{zip()} built-in function and \function{itertools.izip()}
   now return an empty list if called with no arguments.