Message377810
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:19 | ethan.furman | set | recipients:
+ ethan.furman, barry, eric.smith, eli.bendersky, rt121212121, dom1310df |
2020-10-02 13:56:19 | ethan.furman | set | messageid: <1601646979.07.0.193114236405.issue41907@roundup.psfhosted.org> |
2020-10-02 13:56:19 | ethan.furman | link | issue41907 messages |
2020-10-02 13:56:19 | ethan.furman | create | |
|