diff options
author | Guido van Rossum <guido@python.org> | 2002-04-06 01:05:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-04-06 01:05:01 (GMT) |
commit | 8ace1ab53a49d90d66e8a03491a272c70ad4eb46 (patch) | |
tree | d08f5976ad3e74100608cade6362c0ad41be1099 /Misc | |
parent | 181e41ad4064cc94b9f41ce49ee541a132f93615 (diff) | |
download | cpython-8ace1ab53a49d90d66e8a03491a272c70ad4eb46.zip cpython-8ace1ab53a49d90d66e8a03491a272c70ad4eb46.tar.gz cpython-8ace1ab53a49d90d66e8a03491a272c70ad4eb46.tar.bz2 |
- Changed new-style class instantiation so that when C's __new__
method returns something that's not a C instance, its __init__ is
not called. [SF bug #537450]
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,10 @@ Type/class unification and new-style classes Core and builtins +- Changed new-style class instantiation so that when C's __new__ + method returns something that's not a C instance, its __init__ is + not called. [SF bug #537450] + - Fixed super() to work correctly with class methods. [SF bug #535444] - A new built-in type, bool, has been added, as well as built-in |