]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-92049: Forbid pickling constants re._constants.SUCCESS etc (GH-92070) ...
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 30 Apr 2022 12:33:39 +0000 (15:33 +0300)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 12:33:39 +0000 (15:33 +0300)
commite8ff3c92f69b475aa20ba7c08efccbc329f9b42e
tree2e63d7a92df5a21c909d81f574a7121fcd4477f2
parent19a079690c29cd6a9f3fc3cb6aeb9f5a11c491e3
[3.10] gh-92049: Forbid pickling constants re._constants.SUCCESS etc (GH-92070) (GH-92073)

Previously, pickling did not fail, but the result could not be unpickled.
(cherry picked from commit 6d0d547033e295f91f05030322acfbb0e280fc1f)
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]