Skip to content
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

[3.11] gh-93035: [Enum] Fix IntFlag crash when no single-bit members (GH-93076) #93197

Merged
merged 1 commit into from May 25, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 25, 2022

EnumType attempts to create a custom docstring for each enum/flag, but that was failing with pathological flags that had no members (only multi-bit aliases).
(cherry picked from commit 08cfc3d)

Co-authored-by: Tobin Yehle tobinyehle@gmail.com

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 25, 2022

Status check is done, and it's a success .

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 25, 2022

Status check is done, and it's a success .

1 similar comment
@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 25, 2022

Status check is done, and it's a success .

…ythonGH-93076)

`EnumType` attempts to create a custom docstring for each enum/flag, but that was failing with pathological flags that had no members (only multi-bit aliases).
(cherry picked from commit 08cfc3d)

Co-authored-by: Tobin Yehle <tobinyehle@gmail.com>
@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 25, 2022

Status check is done, and it's a success .

4 similar comments
@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 25, 2022

Status check is done, and it's a success .

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 25, 2022

Status check is done, and it's a success .

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 25, 2022

Status check is done, and it's a success .

@miss-islington
Copy link
Contributor Author

@miss-islington miss-islington commented May 25, 2022

Status check is done, and it's a success .

Copy link
Contributor

@The-Compiler The-Compiler left a comment

Just ran into the same issue on 3.11b1. Applying this on top of the current 3.11 branch fixes things for me.

@ethanfurman ethanfurman merged commit 37a7f1b into python:3.11 May 25, 2022
13 checks passed
@miss-islington miss-islington deleted the backport-08cfc3d-3.11 branch May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants