[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.31,1.337.2.4.2.32
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Fri, 09 Aug 2002 08:57:54 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv5336
Modified Files:
Tag: release22-maint
NEWS
Log Message:
News about Neil's fix to correctly invoke __rmul__.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.31
retrieving revision 1.337.2.4.2.32
diff -C2 -d -r1.337.2.4.2.31 -r1.337.2.4.2.32
*** NEWS 11 Jul 2002 07:06:43 -0000 1.337.2.4.2.31
--- NEWS 9 Aug 2002 15:57:52 -0000 1.337.2.4.2.32
***************
*** 5,8 ****
--- 5,13 ----
Core and builtins
+ - When x is an object whose class implements __mul__ and __rmul__,
+ 1.0*x would correctly invoke __rmul__, but 1*x would erroneously
+ invoke __mul__. This was due to the sequence-repeat code in the int
+ type. This has been fixed now.
+
- If a dying instance of a new-style class got resurrected by its class's
__del__ method, Python aborted with a fatal error.