[Python-checkins] CVS: python/dist/src PLAN.txt,1.9,1.10

Guido van Rossum gvanrossum@users.sourceforge.net
Mon, 24 Sep 2001 23:20:54 -0700


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

Modified Files:
	PLAN.txt 
Log Message:
Note a few tasks that are done now.


Index: PLAN.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/PLAN.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PLAN.txt	2001/09/20 05:27:24	1.9
--- PLAN.txt	2001/09/25 06:20:52	1.10
***************
*** 5,13 ****
  -----------
  
- Fix comparisons.  There's some nasty stuff here: when two types are
- not the same, and they're not instances, the fallback code doesn't
- account for the possibility that they might be subtypes of a common
- base type that defines a comparison.
- 
  Check for conflicts between base classes.  I fear that the rules used
  to decide whether multiple bases have conflicting instance variables
--- 5,8 ----
***************
*** 22,26 ****
  implemented.
  
! Allow __class__ assignment (and __bases__ and __dict__?).
  
  Make __dynamic__ the default.
--- 17,21 ----
  implemented.
  
! Allow assignment to __bases__ and __dict__?
  
  Make __dynamic__ the default.
***************
*** 30,42 ****
  Add __coerce__?
  
! Support pickling (via __reduce__?)
  
  Support mixed multiple inheritance from classic and new-style classes?
  
- Change __getattr__ to be more like classic __getattr__, and introduce
- a new name for new-style __getattr__?
- 
  Done (mostly)
  -------------
  
  Make inspect and pydoc do the right thing for new-style classes.  ***
--- 25,46 ----
  Add __coerce__?
  
! Support pickling (via __reduce__)
  
  Support mixed multiple inheritance from classic and new-style classes?
  
  Done (mostly)
  -------------
+ 
+ Fix comparisons.  There's some nasty stuff here: when two types are
+ not the same, and they're not instances, the fallback code doesn't
+ account for the possibility that they might be subtypes of a common
+ base type that defines a comparison.  *** I believe this is now done,
+ but it's a bit of a mess. ***
+ 
+ Allow __class__ assignment. *** done ***
+ 
+ Change __getattr__ to be more like classic __getattr__, and introduce
+ a new name for new-style __getattr__.  *** Done.  The new-style method
+ is called __getattribute__. ***
  
  Make inspect and pydoc do the right thing for new-style classes.  ***