Mailing List Archive

python/dist/src/Misc NEWS,1.337.2.4.2.39,1.337.2.4.2.40
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv14033/Misc

Modified Files:
Tag: release22-maint
NEWS
Log Message:
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.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.39
retrieving revision 1.337.2.4.2.40
diff -C2 -d -r1.337.2.4.2.39 -r1.337.2.4.2.40
*** NEWS 7 Oct 2002 17:19:41 -0000 1.337.2.4.2.39
--- NEWS 7 Oct 2002 18:08:26 -0000 1.337.2.4.2.40
***************
*** 1,7 ****
! What's New in Python 2.2.2?
! Release date: dd-mmm-2002
! ===========================

Core and builtins

- u'%c' will now raise a ValueError in case the argument is an
--- 1,14 ----
! What's New in Python 2.2.2b1?
! Release date: 7-Oct-2002
! =============================

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] (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.)

- u'%c' will now raise a ValueError in case the argument is an