[issue21130] equivalent functools.partial instances should compare equal

Raymond Hettinger report at bugs.python.org
Sun Apr 6 08:48:08 CEST 2014


Raymond Hettinger added the comment:

> I guess a partial is a binding, not a function.

Viewed in that light, it makes sense to implement same logic as used for bound methods in method_richcompare.

----------
keywords: +easy
stage: test needed -> needs patch

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


More information about the Python-bugs-list mailing list