[Python-checkins] python/dist/src/Misc NEWS,1.896,1.897

gvanrossum at users.sourceforge.net gvanrossum at users.sourceforge.net
Sat Nov 22 18:55:52 EST 2003


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

Modified Files:
	NEWS 
Log Message:
- When method objects have an attribute that can be satisfied either
  by the function object or by the method object, the function
  object's attribute usually wins.  Christian Tismer pointed out that
  that this is really a mistake, because this only happens for special
  methods (like __reduce__) where the method object's version is
  really more appropriate than the function's attribute.  So from now
  on, all method attributes will have precedence over function
  attributes with the same name.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.896
retrieving revision 1.897
diff -C2 -d -r1.896 -r1.897
*** NEWS	20 Nov 2003 21:21:46 -0000	1.896
--- NEWS	22 Nov 2003 23:55:50 -0000	1.897
***************
*** 13,16 ****
--- 13,25 ----
  -----------------
  
+ - When method objects have an attribute that can be satisfied either
+   by the function object or by the method object, the function
+   object's attribute usually wins.  Christian Tismer pointed out that
+   that this is really a mistake, because this only happens for special
+   methods (like __reduce__) where the method object's version is
+   really more appropriate than the function's attribute.  So from now
+   on, all method attributes will have precedence over function
+   attributes with the same name.
+ 
  - Critical bugfix, for SF bug 839548:  if a weakref with a callback,
    its callback, and its weakly referenced object, all became part of





More information about the Python-checkins mailing list