[issue21130] equivalent functools.partial instances should compare equal

Raymond Hettinger report at bugs.python.org
Wed Apr 2 11:56:54 CEST 2014


Raymond Hettinger added the comment:

Even equivalent functions don't compare as equal:

   >>> (lambda x: x*x) == (lambda x: x*x)
   False

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list