[issue12428] functools test coverage
Nick Coghlan
report at bugs.python.org
Tue Jun 28 14:16:13 CEST 2011
Nick Coghlan <ncoghlan at gmail.com> added the comment:
Raymond, do we care whether or not the pure Python version of functools.partial supports inheritance and instance testing?
The constructor is technically documented as returning a "partial object" rather than a simple staticmethod instance with additional attributes.
My own preference leans towards keeping the closure based implementation due to its simplicity, which is what makes it particularly useful as a cross-check on the C implementation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12428>
_______________________________________
More information about the Python-bugs-list
mailing list