You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enum: do not convert private names into members #86683
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/ethanfurman'closed_at=<Date2020-12-14.23:58:05.919>created_at=<Date2020-11-30.22:17:33.854>labels= ['type-bug', '3.9', '3.10']
title='Enum: do not convert private names into members'updated_at=<Date2021-10-20.23:11:51.215>user='https://github.com/ethanfurman'
Currently, private names such as '__location' will get both name mangled and converted into an attribute, while __location_ will get mangled, but not converted as the final name is sundered (e.g. _MyEnum__location_).
Just in case anyone is actually using private name Enum members we'll deprecate in 3.10, and in 3.11 private names will:
Activity
ethanfurman commentedon Nov 30, 2020
Currently, private names such as '__location' will get both name mangled and converted into an attribute, while
__location_will get mangled, but not converted as the final name is sundered (e.g._MyEnum__location_).Just in case anyone is actually using private name Enum members we'll deprecate in 3.10, and in 3.11 private names will:
ethanfurman commentedon Dec 9, 2020
Make that deprecate in 3.9, work correctly in 3.10.
ethanfurman commentedon Dec 10, 2020
New changeset 7cf0aad by Ethan Furman in branch 'master':
bpo-42517: [Enum] do not convert private names into members (GH-23722)
7cf0aad
ethanfurman commentedon Dec 14, 2020
New changeset aba12b6 by Miss Islington (bot) in branch '3.9':
[3.9] bpo-42517: [Enum] deprecate private name members (GH-23722) (GH-23748)
aba12b6
ethanfurman commentedon Oct 20, 2021
New changeset 9733c96 by Ethan Furman in branch '3.9':
[3.9] bpo-42517: [ENUM] update docs for changes coming in 3.11 (GH-29113)
9733c96