[issue1617161] Instance methods compare equal when their self's are equal

Josh Rosenberg report at bugs.python.org
Thu Jun 21 20:48:31 EDT 2018


Josh Rosenberg <shadowranger+python at gmail.com> added the comment:

If [].append == [].append is True in the "unique set of callbacks" scenario, that implies that it's perfectly fine to not call one of them when both are registered. But this means that only one list ends up getting updated, when you tried to register both for updates. That's definitely surprising, and not in a good way.

----------
nosy: +josh.r

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue1617161>
_______________________________________


More information about the Python-bugs-list mailing list