summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-11-12 09:23:04 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-11-12 09:23:04 (GMT)
commitd7a441559921804a5a6141c3ec42f896f8f3b010 (patch)
treeeaeaa693fe1af5871f54222f7d07d7cc49d3dd16 /Misc
parenta9dcdabccb1a1f7c76030c0b188ecaf7ab599e57 (diff)
downloadcpython-d7a441559921804a5a6141c3ec42f896f8f3b010.zip
cpython-d7a441559921804a5a6141c3ec42f896f8f3b010.tar.gz
cpython-d7a441559921804a5a6141c3ec42f896f8f3b010.tar.bz2
Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__. Added tests for non-pickleable types.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 89f6d83..4e5ea19 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ Release date: tba
Core and Builtins
-----------------
+- Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
+ rejects builtin types with not defined __new__.
+
- Issue #24802: Avoid buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. These objects are not
necessarily terminated by a null byte, but the functions assumed they were.