[Python-checkins] CVS: python/dist/src/Misc NEWS,1.313,1.314

Guido van Rossum gvanrossum@users.sourceforge.net
Thu, 15 Nov 2001 12:27:56 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv16968

Modified Files:
	NEWS 
Log Message:
Correct the description of mixed multiple inheritance: the code
special-cases classic classes, it doesn't do anything about other
cases where different metaclasses are involved (except for the trivial
case where one metaclass is a subclass of the others).  Also note that
it's metaclass, not metatype.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.313
retrieving revision 1.314
diff -C2 -d -r1.313 -r1.314
*** NEWS	2001/11/15 20:02:21	1.313
--- NEWS	2001/11/15 20:27:54	1.314
***************
*** 5,15 ****
  Type/class unification and new-style classes
  
! - Restrictions on multiple inheritance from classes with different
!   metatypes have been relaxed.  The only builtin metatypes are one for
!   classic classes a second for new-style classes, so the primary
!   visible effect is that this works now:
  
        class Classic: pass
!       class Mixed(Classic, object): now
  
    The MRO (method resolution order) for each base class is respected
--- 5,13 ----
  Type/class unification and new-style classes
  
! - Multiple inheritance mixing new-style and classic classes in the
!   list of base classes is now allowed, so this works now:
  
        class Classic: pass
!       class Mixed(Classic, object): pass
  
    The MRO (method resolution order) for each base class is respected