diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-05-02 14:37:14 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-05-02 14:37:14 (GMT) |
commit | 2a1598035d77c5b01d319a422e263395a834f3ad (patch) | |
tree | 1631d05e25a2a29b37b5119853dd7ba60b5ffcfe | |
parent | e7bd876f9dd922e722d6d34aaa3ecb05c2e16e71 (diff) | |
download | cpython-2a1598035d77c5b01d319a422e263395a834f3ad.zip cpython-2a1598035d77c5b01d319a422e263395a834f3ad.tar.gz cpython-2a1598035d77c5b01d319a422e263395a834f3ad.tar.bz2 |
Note that NameError's message also changed in 2.0
-rw-r--r-- | Doc/whatsnew/whatsnew20.tex | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Doc/whatsnew/whatsnew20.tex b/Doc/whatsnew/whatsnew20.tex index 78120a1..0348f7a 100644 --- a/Doc/whatsnew/whatsnew20.tex +++ b/Doc/whatsnew/whatsnew20.tex @@ -766,10 +766,12 @@ digits. Previously it would consume all the hex digits following the 'x' and take the lowest 8 bits of the result, so \code{\e x123456} was equivalent to \code{\e x56}. -The \exception{AttributeError} exception has a more friendly error message, -whose text will be something like \code{'Spam' instance has no attribute 'eggs'}. -Previously the error message was just the missing attribute name \code{eggs}, and -code written to take advantage of this fact will break in 2.0. +The \exception{AttributeError} and \exception{NameError} exceptions +have a more friendly error message, whose text will be something like +\code{'Spam' instance has no attribute 'eggs'} or \code{name 'eggs' is +not defined}. Previously the error message was just the missing +attribute name \code{eggs}, and code written to take advantage of this +fact will break in 2.0. Some work has been done to make integers and long integers a bit more interchangeable. In 1.5.2, large-file support was added for Solaris, @@ -1325,9 +1327,9 @@ these modules. \section{Acknowledgements} The authors would like to thank the following people for offering -suggestions on various drafts of this article: David Bolen, Mark Hammond, Gregg Hauser, -Jeremy Hylton, Fredrik Lundh, Detlef Lannert, Aahz Maruch, Skip -Montanaro, Vladimir Marangozov, Guido van Rossum, Neil Schemenauer, -and Russ Schmidt. +suggestions on various drafts of this article: David Bolen, Mark +Hammond, Gregg Hauser, Jeremy Hylton, Fredrik Lundh, Detlef Lannert, +Aahz Maruch, Skip Montanaro, Vladimir Marangozov, Tobias Polzin, Guido +van Rossum, Neil Schemenauer, and Russ Schmidt. \end{document} |