This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2016年09月09日 18:26 by ethan.furman, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg275374 - (view) | Author: Ethan Furman (ethan.furman) * (Python committer) | Date: 2016年09月09日 18:26 | |
With the landing of ordered class namespaces the build order for Enum needs to be redone to at least keep the user-specified pieces' relative order intact: >>> from enum import Enum >>> class Color(Enum): ... red = 1 ... blue = 2 ... green = 3 ... def primary(self): ... return True ... >>> Color.__dict__.keys() dict_keys(['_generate_next_value_', '__module__', 'primary', '__doc__', '_member_names_', '_member_map_', '_member_type_', '_value2member_map_', 'red', 'blue', 'green', '__new__']) |
|||
| msg276339 - (view) | Author: Ethan Furman (ethan.furman) * (Python committer) | Date: 2016年09月13日 20:38 | |
__definition_order__ was dropped from PEP520, so this issue is moot. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:36 | admin | set | github: 72235 |
| 2016年09月13日 20:38:35 | ethan.furman | set | status: open -> closed resolution: rejected messages: + msg276339 stage: test needed -> resolved |
| 2016年09月09日 18:26:38 | ethan.furman | create | |