[issue27137] Python implementation of `functools.partial` is not a class

Emanuel Barry report at bugs.python.org
Sat Jun 4 18:31:28 EDT 2016


Emanuel Barry added the comment:

New patch, now almost all the tests that are used for the C version are also used for the Python version (the only exception is the one checking that trying to change/delete attributes would raise an error). Some tests needed a bit of tweaking to work with the implementation details of both versions, but now all of the tests pass (even the pickle one, which I found how to make it pass while working on #27220).

----------
Added file: http://bugs.python.org/file43212/functools_partial_3.patch

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


More information about the Python-bugs-list mailing list