]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105332: [Enum] Fix unpickling flags in edge-cases (GH-105348) (GH-105519)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Jun 2023 01:02:12 +0000 (18:02 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Jun 2023 01:02:12 +0000 (18:02 -0700)
commitfed1b5a198c20b4b94a594248c88b3bcac9937eb
treeafd095c23507954acce284864fbffa9499fbea59
parentc3b8f9d0d22f54eeca353a140c73e126533f1ee7
[3.11] gh-105332: [Enum] Fix unpickling flags in edge-cases (GH-105348) (GH-105519)

* revert enum pickling from by-name to by-value

(cherry picked from commit 4ff5690e591b7d11cf11e34bf61004e2ea58ab3c)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Doc/howto/enum.rst
Lib/enum.py
Lib/test/test_enum.py
Misc/NEWS.d/next/Library/2023-06-06-11-50-33.gh-issue-105332.tmpgRA.rst [new file with mode: 0644]