]> granicus.if.org Git - python/commit
Issue #25945: Fixed bugs in functools.partial.
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 2 Feb 2016 16:45:17 +0000 (18:45 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Tue, 2 Feb 2016 16:45:17 +0000 (18:45 +0200)
commit38741285195fd78964f484ba3cb0feb67d7962c0
treed0ba8044c27b3a2cc0bb3f40ebdea0edda25ef81
parent567d513b9bf24ea5f58c4ca0fc3e25c887b85dcf
Issue #25945: Fixed bugs in functools.partial.
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.
Lib/test/test_functools.py
Misc/NEWS
Modules/_functoolsmodule.c