summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2013-11-30 21:24:13 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2013-11-30 21:24:13 (GMT)
commit1d3a17332683bc38f8be956ac3dc9ea8fbba27af (patch)
tree5102c3544b9ff7f3b78e3eafdd4b2e78d8f19827 /Misc
parent72a01b29bf7ac17de81c294f4ee6e5cc7359c685 (diff)
downloadcpython-1d3a17332683bc38f8be956ac3dc9ea8fbba27af.zip
cpython-1d3a17332683bc38f8be956ac3dc9ea8fbba27af.tar.gz
cpython-1d3a17332683bc38f8be956ac3dc9ea8fbba27af.tar.bz2
Issue #16231: Allow false values other than None to be used as persistent IDs.
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 e894f3e..0581dd2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,11 @@ Core and Builtins
Library
-------
+- Issue #16231: Fixed pickle.Pickler to only fallback to its default pickling
+ behaviour when Pickler.persistent_id returns None, but not for any other
+ false values. This allows false values other values other than None to be
+ used as persistent IDs. This behaviour is consistent with cPickle.
+
- Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface. Original patch by Kent Frazier.