diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-08-02 12:44:28 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-08-02 12:44:28 (GMT) |
commit | d91fcbe265d525aa401c5e4ed837ac8ec8385340 (patch) | |
tree | 8871538250a223208d20be05b7a1aaa9f2ffc348 /Doc | |
parent | 1455f795e29814faf63a34619785fe6a8525bf1c (diff) | |
download | cpython-d91fcbe265d525aa401c5e4ed837ac8ec8385340.zip cpython-d91fcbe265d525aa401c5e4ed837ac8ec8385340.tar.gz cpython-d91fcbe265d525aa401c5e4ed837ac8ec8385340.tar.bz2 |
Add import change; add empty section for function decorators
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/whatsnew24.tex | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 0edd2a9..d3475e6 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -182,6 +182,18 @@ implemented by Jiwon Seo with early efforts steered by Hye-Shik Chang.} \end{seealso} %====================================================================== +\section{PEP 318: Decorators for Functions, Methods and Classes} + +% XXX write this section + +\begin{seealso} +\seepep{318}{Decorators for Functions, Methods and Classes}{Written +by Kevin D. Smith, Jim Jewett, and Skip Montanaro. Several people wrote +patches implementing function decorators, but the one that was actually +checked in was patch #979728, written by Mark Russell.} +\end{seealso} + +%====================================================================== \section{PEP 322: Reverse Iteration} A new built-in function, \function{reversed(\var{seq})}, takes a sequence @@ -629,6 +641,11 @@ Python dictionary. (Contributed by Raymond Hettinger.) [] \end{verbatim} +\item Encountering a failure while importing a module no longer leaves +a partially-initialized module object in \code{sys.modules}. The +incomplete module object left behind would fool further imports of the +same module into succeeding, leading to confusing errors. + \item \constant{None} is now a constant; code that binds a new value to the name \samp{None} is now a syntax error. |