Message384992
> It would be nice if pprint learned to insert underscores in long numbers
+1 but I would make this optional.
> Here is an implementation of the safe repr for numbers if helpful
I suggest using the existing string formatting tools as a foundation
>>> format(10**9, ',d').replace(',', '_')
'1_000_000_000' |
|
Date |
User |
Action |
Args |
2021-01-13 03:35:29 | rhettinger | set | recipients:
+ rhettinger, fov |
2021-01-13 03:35:29 | rhettinger | set | messageid: <1610508929.82.0.0120360998358.issue42914@roundup.psfhosted.org> |
2021-01-13 03:35:29 | rhettinger | link | issue42914 messages |
2021-01-13 03:35:29 | rhettinger | create | |
|