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.

Author ethan.furman
Recipients ethan.furman, lukasz.langa, pablogsal
Date 2021-08-18.18:56:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629312993.59.0.730324864989.issue44929@roundup.psfhosted.org>
In-reply-to
Content
`_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.
History
Date User Action Args
2021-08-18 18:56:33ethan.furmansetrecipients: + ethan.furman, lukasz.langa, pablogsal
2021-08-18 18:56:33ethan.furmansetmessageid: <1629312993.59.0.730324864989.issue44929@roundup.psfhosted.org>
2021-08-18 18:56:33ethan.furmanlinkissue44929 messages
2021-08-18 18:56:33ethan.furmancreate