Skip to content

Add support for setting enum members to "..."#16807

Merged
hauntsaninja merged 3 commits into
python:masterfrom
JelleZijlstra:stubtenum
Jan 22, 2024
Merged

Add support for setting enum members to "..."#16807
hauntsaninja merged 3 commits into
python:masterfrom
JelleZijlstra:stubtenum

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

Unblock python/typeshed#11299

(Explain how this PR changes mypy.)

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be dedented? Are there any other situations in which this could come up?

@JelleZijlstra

Copy link
Copy Markdown
Member Author

I feel like outside enums we shouldn't allow = ....

@hauntsaninja
hauntsaninja merged commit 7eab8a4 into python:master Jan 22, 2024
@JelleZijlstra
JelleZijlstra deleted the stubtenum branch January 22, 2024 05:37
@JelleZijlstra
JelleZijlstra restored the stubtenum branch September 10, 2024 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants