From 1455f795e29814faf63a34619785fe6a8525bf1c Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 2 Aug 2004 12:09:58 +0000 Subject: [PATCH] Update item --- Doc/whatsnew/whatsnew24.tex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index a2dbbb76815..0edd2a949e2 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -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.