Skip to content

Conversation

ethanfurman
Copy link
Member

Issue warning if classes are defined in an enum; add member and nonmember functions to explicitly control the result.

- add member() and nonmember() functions
- add deprecation warning for internal classes in enums not
  becoming members
@ethanfurman ethanfurman self-assigned this May 6, 2022
@ethanfurman ethanfurman merged commit 93364f9 into python:main May 6, 2022
JelleZijlstra added a commit to python/typeshed that referenced this pull request May 7, 2022
AlexWaygood pushed a commit to python/typeshed that referenced this pull request May 7, 2022
@ethanfurman ethanfurman deleted the enum-nested_classes branch February 1, 2024 01:39
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