This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2020-09-04.17:41:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599241313.26.0.364304470035.issue41720@roundup.psfhosted.org>
In-reply-to
Content
Vec2D.__rmul__() misses "return NotImplemented" and therefore implicitly returns None for arguments which are not int or float.

>>> import turtle
>>> print(object() * turtle.Vec2D(1, 2))
None
History
Date User Action Args
2020-09-04 17:41:53serhiy.storchakasetrecipients: + serhiy.storchaka
2020-09-04 17:41:53serhiy.storchakasetmessageid: <1599241313.26.0.364304470035.issue41720@roundup.psfhosted.org>
2020-09-04 17:41:53serhiy.storchakalinkissue41720 messages
2020-09-04 17:41:52serhiy.storchakacreate