summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-02-02 16:45:17 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-02-02 16:45:17 (GMT)
commit38741285195fd78964f484ba3cb0feb67d7962c0 (patch)
treed0ba8044c27b3a2cc0bb3f40ebdea0edda25ef81 /Misc
parent567d513b9bf24ea5f58c4ca0fc3e25c887b85dcf (diff)
downloadcpython-38741285195fd78964f484ba3cb0feb67d7962c0.zip
cpython-38741285195fd78964f484ba3cb0feb67d7962c0.tar.gz
cpython-38741285195fd78964f484ba3cb0feb67d7962c0.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ba1f4de..3a71354 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -70,6 +70,11 @@ Core and Builtins
Library
-------
+- Issue #25945: 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.
+
- Issue #26202: copy.deepcopy() now correctly copies range() objects with
non-atomic attributes.