summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-04-06 01:05:01 (GMT)
committerGuido van Rossum <guido@python.org>2002-04-06 01:05:01 (GMT)
commit8ace1ab53a49d90d66e8a03491a272c70ad4eb46 (patch)
treed08f5976ad3e74100608cade6362c0ad41be1099 /Misc
parent181e41ad4064cc94b9f41ce49ee541a132f93615 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8c42460..4923dce 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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