]> granicus.if.org Git - python/commit
Issue #27137: align Python & C implementations of functools.partial
authorNick Coghlan <ncoghlan@gmail.com>
Sat, 10 Sep 2016 10:00:02 +0000 (20:00 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sat, 10 Sep 2016 10:00:02 +0000 (20:00 +1000)
commit457fc9a69e7918e3c10319604903915c2f2ecd9a
treea5c07e94a0442b8e7ac303ebf3643295a1c16888
parenteddc4b7272c310fc5008c8c826ed70fa936cd661
Issue #27137: align Python & C implementations of functools.partial

The pure Python fallback implementation of functools.partial
now matches the behaviour of its accelerated C counterpart for
subclassing, pickling and text representation purposes.

Patch by Emanuel Barry and Serhiy Storchaka.
Lib/functools.py
Lib/test/test_functools.py
Misc/NEWS
Modules/_functoolsmodule.c