[Python-checkins] python/dist/src/Misc NEWS,1.652,1.653

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Tue, 11 Feb 2003 19:58:40 -0800


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

Modified Files:
	NEWS 
Log Message:
Implement another useful feature for proxies: in super(X, x), x may
now be a proxy for an X instance, as long as issubclass(x.__class__, X).


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.652
retrieving revision 1.653
diff -C2 -d -r1.652 -r1.653
*** NEWS	12 Feb 2003 03:32:58 -0000	1.652
--- NEWS	12 Feb 2003 03:58:33 -0000	1.653
***************
*** 13,16 ****
--- 13,19 ----
  -----------------
  
+ - super(X, x): x may now be a proxy for an X instance, i.e.
+   issubclass(x.__class__, X) but not issubclass(type(x), X).
+ 
  - isinstance(x, X): if X is a new-style class, this is now equivalent
    to issubclass(type(x), X) or issubclass(x.__class__, X).  Previously