[issue19927] Path-based loaders lack a meaningful __eq__() implementation.ModuleSpec.__eq__() is highly sensitive to loader.__eq__()

Eric Snow report at bugs.python.org
Sun Dec 8 06:08:13 CET 2013


New submission from Eric Snow:

ModuleSpec.__eq__() does a comparision of its various attributes, one of them being the loader.  However, the __eq__() of the path-based loaders is just the stock one that compares object identity.  So most

----------
messages: 205515
nosy: brett.cannon, eric.snow, ncoghlan
priority: high
severity: normal
stage: test needed
status: open
title: Path-based loaders lack a meaningful __eq__() implementation.ModuleSpec.__eq__() is highly sensitive to loader.__eq__()
type: behavior
versions: Python 3.4

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


More information about the Python-bugs-list mailing list