diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-12 09:23:04 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-12 09:23:04 (GMT) |
commit | d7a441559921804a5a6141c3ec42f896f8f3b010 (patch) | |
tree | eaeaa693fe1af5871f54222f7d07d7cc49d3dd16 /Misc | |
parent | a9dcdabccb1a1f7c76030c0b188ecaf7ab599e57 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |