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-93464: [Enum] fix auto() failure during multiple assignment (GH-99148) #99149

Merged
merged 1 commit into from
Nov 6, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 6, 2022

  • fix auto() failure during multiple assignment

i.e. ONE = auto(), 'text' will now have ONE' with the value of (1,
'text'). Before it would have been (, 'text')`
(cherry picked from commit 8feb7ab)

Co-authored-by: Ethan Furman ethan@stoneleaf.us

…ythonGH-99148)

* fix auto() failure during multiple assignment

i.e. `ONE = auto(), 'text'` will now have `ONE' with the value of `(1,
'text')`.  Before it would have been `(<an auto instance>, 'text')`
(cherry picked from commit 8feb7ab)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
@ethanfurman
Copy link
Member

@pablogsal With your approval I'd like to merge this into 3.11.1.

@miss-islington miss-islington merged commit be4bab8 into python:3.11 Nov 6, 2022
@miss-islington miss-islington deleted the backport-8feb7ab-3.11 branch November 6, 2022 14:30
@ethanfurman
Copy link
Member

Apparently I cannot give my own approval or miss-islington will auto-merge. Ah, I bet I should have removed the awaiting merge label. sigh

@CAM-Gerlach
Copy link
Member

Just to note, some users (e.g. @layday ) were confused by the fact that it didn't work in the current 3.11.0 but was is now documented in the docs without a versionchanged notice.

Apparently I cannot give my own approval or miss-islington will auto-merge.

Yeah, it automerges in that case AFAIK.

Ah, I bet I should have removed the awaiting merge label

I've also been told that thou shalt not touch the bot labels, or thou shalt be cast into the gorge of eternal peril...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants