Message334854
Consider adding a flag to switch between sorted order and insertion order (defaulting to the current behavior). For convenience, add a short-cut function to call pprint() with the flag set to False.
def pprint(data, *, sort_dicts=True):
...
def pp(data, *args, **kwds):
pprint(data, *args, sort_dicts=False, **kwds) |
|
| Date |
User |
Action |
Args |
| 2019-02-05 01:52:28 | rhettinger | set | recipients:
+ rhettinger, serhiy.storchaka, josephsmeng, pombredanne, Aaron Hall, remi.lapeyre, xtreak, Jan-Hein Bührman, Valentin Beyer, ewjoachim |
| 2019-02-05 01:52:27 | rhettinger | set | messageid: <[email protected]> |
| 2019-02-05 01:52:27 | rhettinger | link | issue30670 messages |
| 2019-02-05 01:52:26 | rhettinger | create | |
|