[issue19927] Path-based loaders lack a meaningful __eq__() implementation.

Brett Cannon report at bugs.python.org
Sun Dec 8 17:15:14 CET 2013


Brett Cannon added the comment:

I'm fine with the suggestions Nick made. While loaders are not technically immutable (and thus technically probably shouldn't define __hash__), they have not been defined to be mutable and mucked with anyway, so I have no issue if someone breaks the hash of a loader by changing an attribute post-hash.

----------

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


More information about the Python-bugs-list mailing list