]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] gh-92049: Forbid pickling constants re._constants.SUCCESS etc (GH-92070) (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 1 May 2022 10:01:56 +0000 (13:01 +0300)
committerGitHub <noreply@github.com>
Sun, 1 May 2022 10:01:56 +0000 (13:01 +0300)
commit54f06aeb74909f6c3b0727e73987639732428751
tree4b4a30aac54e14ea3302c8bb9b8bc157b6b31910
parentfcbff77b26c44b8ee58c2ef2c3b25b3ffe7c20e9
[3.9] gh-92049: Forbid pickling constants re._constants.SUCCESS etc (GH-92070) (GH-92073) (GH-92102)

Previously, pickling did not fail, but the result could not be unpickled.
(cherry picked from commit 6d0d547033e295f91f05030322acfbb0e280fc1f)
(cherry picked from commit e8ff3c92f69b475aa20ba7c08efccbc329f9b42e)
Lib/sre_constants.py
Misc/NEWS.d/next/Library/2022-04-30-10-53-10.gh-issue-92049.5SEKoh.rst [new file with mode: 0644]