From 5f2f103579674199cda6ec77297ae42260e800ab Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 9 Aug 2002 15:57:52 +0000 Subject: [PATCH] News about Neil's fix to correctly invoke __rmul__. --- Misc/NEWS | 5 +++++ 1 file changed, 5 insertions(+) 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. -- 2.47.3