diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-12 09:34:39 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-11-12 09:34:39 (GMT) |
commit | 12ab296f8212029f43e17f4745abcef89f34ea32 (patch) | |
tree | 36796bc99ee039866836d6aa68e67722f3205ac6 /Misc/NEWS | |
parent | d5d6e331fb2e4e33058991dfa0ab7a08dd41e193 (diff) | |
parent | 609a2e17ada69ba47e8011e9d5a0eba649a0ef65 (diff) | |
download | cpython-12ab296f8212029f43e17f4745abcef89f34ea32.zip cpython-12ab296f8212029f43e17f4745abcef89f34ea32.tar.gz cpython-12ab296f8212029f43e17f4745abcef89f34ea32.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/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10,6 +10,9 @@ Release date: XXXX-XX-XX 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. |