[issue11477] Bug in code dispatching based on internal slots

Nick Coghlan report at bugs.python.org
Mon Mar 14 14:34:12 CET 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Armin, I'm not sure returning NotImplemented from __iadd__ is a good idea in this case. It means "+=" on a mutable object may silently fail to mutate in-place - enabling that seems rather questionable.

----------
nosy: +ncoghlan

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11477>
_______________________________________


More information about the Python-bugs-list mailing list