[issue34487] enum _sunder_ names mix metaclass and enum class attributes

2018-09-10 Thread Ethan Furman
Change by Ethan Furman : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34487] enum _sunder_ names mix metaclass and enum class attributes

2018-08-27 Thread Ethan Furman
Ethan Furman added the comment: All those attributes live in the Enum class. If you use a non-existent attribute, such as _name, then the metaclass will be called to check if that name is actually an Enum member. -- assignee: docs@python -> ethan.furman nosy: +ethan.furman

[issue34487] enum _sunder_ names mix metaclass and enum class attributes

2018-08-27 Thread INADA Naoki
INADA Naoki added the comment: Is it really need to be documented? How is it important when using enum? If there are no problem, I prefer keeping it implementation detail and don't make document fatter. -- nosy: +inada.naoki ___ Python tracker

[issue34487] enum _sunder_ names mix metaclass and enum class attributes

2018-08-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34487] enum _sunder_ names mix metaclass and enum class attributes

2018-08-24 Thread Gerrit Holl
New submission from Gerrit Holl : In the [`enum` module](https://docs.python.org/3/library/enum.html#supported-sunder-names) documentation, some of the `_sunder_` names are on `EnumMeta`, whereas others are on the produced `Enum` class: > 8.13.15.3.2. Supported `_sunder_` names > * `_name_`