cpython icon indicating copy to clipboard operation
cpython copied to clipboard

[Enum] make some private attributes public

Open ethanfurman opened this issue 1 year ago • 4 comments

Feature or enhancement

Make _EnumDict, _EnumDict._member_names, and possibly other private names public.

This is to make subclassing EnumType and other advanced behavior supported, such as having multiple values per member.

Linked PRs

  • gh-112514
  • gh-121720

ethanfurman avatar Nov 23 '23 03:11 ethanfurman