From: Guido van Rossum Date: Fri, 9 Aug 2002 15:57:52 +0000 (+0000) Subject: News about Neil's fix to correctly invoke __rmul__. X-Git-Tag: v2.2.2b1~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f2f103579674199cda6ec77297ae42260e800ab;p=thirdparty%2FPython%2Fcpython.git News about Neil's fix to correctly invoke __rmul__. --- diff --git a/Misc/NEWS b/Misc/NEWS index 9852beb9eade..c0edcf48a900 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -4,6 +4,11 @@ Release date: dd-mmm-2002 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.