-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-105332: [Enum] Fix unpickling flags in edge-cases #105348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
enum.Flag
with specific values
Thanks @sobolevn for the PR, and @ethanfurman for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry @sobolevn and @ethanfurman, I had trouble checking out the |
GH-105519 is a backport of this pull request to the 3.11 branch. |
…105348) * revert enum pickling from by-name to by-value (cherry picked from commit 4ff5690) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Ethan Furman <[email protected]>
Thanks @sobolevn for the PR, and @ethanfurman for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…105348) * revert enum pickling from by-name to by-value (cherry picked from commit 4ff5690) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Ethan Furman <[email protected]>
GH-105520 is a backport of this pull request to the 3.12 branch. |
@ethanfurman thanks a lot for your help! 👍 |
… (GH-105520) * revert enum pickling from by-name to by-value (cherry picked from commit 4ff5690) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Ethan Furman <[email protected]>
… (GH-105519) * revert enum pickling from by-name to by-value (cherry picked from commit 4ff5690) Co-authored-by: Nikita Sobolev <[email protected]> Co-authored-by: Ethan Furman <[email protected]>
The only problem that this PR fixes is that
TypeError: unsupported operand type(s) for |: 'PxdEnum' and 'NoneType'
does not happen anymore.It does not change any difference between 3.10 and 3.11