[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.68,1.69

akuchling@users.sourceforge.net akuchling@users.sourceforge.net
Fri, 15 Nov 2002 06:37:13 -0800


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory usw-pr-cvs1:/tmp/cvs-serv22043

Modified Files:
	whatsnew23.tex 
Log Message:
Mention change in MRO

Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.68
retrieving revision 1.69
diff -C2 -d -r1.68 -r1.69
*** whatsnew23.tex	14 Nov 2002 23:40:42 -0000	1.68
--- whatsnew23.tex	15 Nov 2002 14:37:10 -0000	1.69
***************
*** 855,858 ****
--- 855,871 ----
  \code{None} may finally become a keyword.
  
+ \item The method resolution order used by new-style classes has
+ changed, though you'll only notice the difference if you have a really
+ complicated inheritance hierarchy.  (Classic classes are unaffected by
+ this change.)  Python 2.2 originally used a topological sort of a
+ class's ancestors, but 2.3 now uses the C3 algorithm as described in
+ \citetitle[http://www.webcom.com/haahr/dylan/linearization-oopsla96.html]{``A
+ Monotonic Superclass Linearization for Dylan''}.  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
+ fix by coding the C3 algorithm.
+ 
  \item Python runs multithreaded programs by switching between threads
  after executing N bytecodes.  The default value for N has been