]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-105332: [Enum] Fix unpickling flags in edge-cases (GH-105348) (GH-105520)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Jun 2023 01:01:51 +0000 (18:01 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Jun 2023 01:01:51 +0000 (18:01 -0700)
commit2f4a2d6c1b0c95f6be33a8c778b0212922a50530
treea9f4a13c9b6138e9cf42b1996681c0d8f21dc10e
parent68eeab7fdd1afd11bb058df173cab40d9ebe2b06
[3.12] gh-105332: [Enum] Fix unpickling flags in edge-cases (GH-105348) (GH-105520)

* 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]