]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport, at the reqest of Kevin Jacobs:
authorGuido van Rossum <guido@python.org>
Mon, 7 Oct 2002 18:08:27 +0000 (18:08 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 7 Oct 2002 18:08:27 +0000 (18:08 +0000)
commit0df0b42f7c4df9f720731dc4ce4962f7f4f6d409
tree53c95a301a0af5c76b3c24f735380e181321c67c
parent5fc952a6c7513f8b4e1dc05025278483251dff8a
Backport, at the reqest of Kevin Jacobs:

- 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]

XXX This is arguably a semantic change, but it's hard to imagine a
reason for wanting to depend on the old behavior.  If problems with
this are reported within a week of the release of 2.2.2 beta 1, we may
revert this change.
Lib/test/test_descr.py
Misc/NEWS
Objects/typeobject.c