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 barry, dom1310df, eli.bendersky, eric.smith, ethan.furman, rt121212121
Date 2020-10-02.13:56:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thank you for the bug report.

Another solution would be to subclass IntFlag and specify the `__format__` method:

    from enum import IntFlag as _IntFlag
    class IntFlag(_IntFlag):
        def __format__(self, spec):
            return format(self.value, spec)
Date User Action Args
2020-10-02 13:56:19ethan.furmansetrecipients: + ethan.furman, barry, eric.smith, eli.bendersky, rt121212121, dom1310df
2020-10-02 13:56:19ethan.furmansetmessageid: <>
2020-10-02 13:56:19ethan.furmanlinkissue41907 messages
2020-10-02 13:56:19ethan.furmancreate