Message399863
`_name_` is only None if the entire enum value is outside any named member and `_boundary_` is `KEEP` -- so
class Example(Flag, boundary=KEEP):
first = auto()
second = auto()
third = auto()
>>> Example(0)
module.Example(0)
>>> Example(8)
module.Example(8)
No need to backport. |
|
Date |
User |
Action |
Args |
2021-08-18 18:56:33 | ethan.furman | set | recipients:
+ ethan.furman, lukasz.langa, pablogsal |
2021-08-18 18:56:33 | ethan.furman | set | messageid: <1629312993.59.0.730324864989.issue44929@roundup.psfhosted.org> |
2021-08-18 18:56:33 | ethan.furman | link | issue44929 messages |
2021-08-18 18:56:33 | ethan.furman | create | |
|