Message195224
> In order to avoid that logic, and cause more format specifiers to result in str-like behavior, we'll need to implement an __format__ somewhere (IntEnum, I guess) that makes the "int or str" decision.
If this is the way format is supposed to work, then I'll add __format__ to IntEnum with simple logic that says if not
letter format code is present, use string formatting, otherwise use int formatting. That should be future proof. |
|
Date |
User |
Action |
Args |
2013-08-14 22:12:54 | ethan.furman | set | recipients:
+ ethan.furman, barry, eric.smith, eli.bendersky, serhiy.storchaka |
2013-08-14 22:12:54 | ethan.furman | link | issue18738 messages |
2013-08-14 22:12:54 | ethan.furman | create | |
|