]> granicus.if.org Git - python/commitdiff
Add import change; add empty section for function decorators
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 2 Aug 2004 12:44:28 +0000 (12:44 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 2 Aug 2004 12:44:28 +0000 (12:44 +0000)
Doc/whatsnew/whatsnew24.tex

index 0edd2a949e2063cc4b39729f3794304bd33be6bc..d3475e649f0395611299faf0efc87f43dda89354 100644 (file)
@@ -181,6 +181,18 @@ generator expressions in this respect.
 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}
 
@@ -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.