[issue20334] make inspect Signature hashable

Antony Lee report at bugs.python.org
Fri Sep 12 20:02:14 CEST 2014


Antony Lee added the comment:

While your patch works, I think it is a good opportunity to simplify the implementation of Signature.__eq__, which is *much* more complicated than what it should be.
Please comment on the attached patch, which uses the helper method approach I suggested.

----------
Added file: http://bugs.python.org/file36610/signature-hash-and-equality.patch

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


More information about the Python-bugs-list mailing list