diff options
author | Guido van Rossum <guido@python.org> | 2003-11-22 23:55:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-11-22 23:55:50 (GMT) |
commit | baf0f8f24da7a541a403cd9848cebc451beb069d (patch) | |
tree | 87e9707d43bbfd74a0cf8213d3c7eb5e4e6d87cc /Misc/NEWS | |
parent | bfd334a42d35e58369e3a53e16733234e2741975 (diff) | |
download | cpython-baf0f8f24da7a541a403cd9848cebc451beb069d.zip cpython-baf0f8f24da7a541a403cd9848cebc451beb069d.tar.gz cpython-baf0f8f24da7a541a403cd9848cebc451beb069d.tar.bz2 |
- 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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -12,6 +12,15 @@ What's New in Python 2.4 alpha 1? Core and builtins ----------------- +- 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 cyclic garbage during a single run of garbage collection, the order |