[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.106,1.107
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Mon, 13 Jan 2003 05:59:24 -0800
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1:/tmp/cvs-serv13933
Modified Files:
whatsnew23.tex
Log Message:
Link to MRO article
Mention deprecation of string exceptions
Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** whatsnew23.tex 8 Jan 2003 05:27:42 -0000 1.106
--- whatsnew23.tex 13 Jan 2003 13:59:22 -0000 1.107
***************
*** 1055,1058 ****
--- 1055,1062 ----
command line or use \function{warnings.filterwarnings()}.
+ \item The process of deprecating string-based exceptions, as
+ in \code{raise "Error occurred"}, has begun. Raising a string will
+ now trigger \exception{PendingDeprecationWarning}.
+
\item Using \code{None} as a variable name will now result in a
\exception{SyntaxWarning} warning. In a future version of Python,
***************
*** 1066,1071 ****
the paper \ulink{``A Monotonic Superclass Linearization for
Dylan''}{http://www.webcom.com/haahr/dylan/linearization-oopsla96.html}.
! To understand the motivation for this change, read the thread on
! python-dev starting with the message at
\url{http://mail.python.org/pipermail/python-dev/2002-October/029035.html}.
Samuele Pedroni first pointed out the problem and also implemented the
--- 1070,1077 ----
the paper \ulink{``A Monotonic Superclass Linearization for
Dylan''}{http://www.webcom.com/haahr/dylan/linearization-oopsla96.html}.
! To understand the motivation for this change,
! read Michele Simionato's article
! \ulink{``Python 2.3 Method Resolution Order''}{http://www.phyast.pitt.edu/~micheles/mro.html}, or
! read the thread on python-dev starting with the message at
\url{http://mail.python.org/pipermail/python-dev/2002-October/029035.html}.
Samuele Pedroni first pointed out the problem and also implemented the