@@ -1054,6 +1054,10 @@ \section{Other Language Changes}
10541054supply \programopt {-Walways::PendingDeprecationWarning::} on the
10551055command line or use \function {warnings.filterwarnings()}.
10561056
1057+ \item The process of deprecating string-based exceptions, as
1058+ in \code {raise "Error occurred" }, has begun. Raising a string will
1059+ now trigger \exception {PendingDeprecationWarning}.
1060+
10571061\item Using \code {None} as a variable name will now result in a
10581062\exception {SyntaxWarning} warning. In a future version of Python,
10591063\code {None} may finally become a keyword.
@@ -1065,8 +1069,10 @@ \section{Other Language Changes}
10651069class's ancestors, but 2.3 now uses the C3 algorithm as described in
10661070the paper \ulink {`` A Monotonic Superclass Linearization for
10671071Dylan'' }{http://www.webcom.com/haahr/dylan/linearization-oopsla96.html}.
1068- To understand the motivation for this change, read the thread on
1069- python-dev starting with the message at
1072+ To understand the motivation for this change,
1073+ read Michele Simionato's article
1074+ \ulink {`` Python 2.3 Method Resolution Order'' }{http://www.phyast.pitt.edu/~micheles/mro.html}, or
1075+ read the thread on python-dev starting with the message at
10701076\url {http://mail.python.org/pipermail/python-dev/2002-October/029035.html}.
10711077Samuele Pedroni first pointed out the problem and also implemented the
10721078fix by coding the C3 algorithm.
0 commit comments