Message334854
| Author | rhettinger |
|---|
| Recipients | Aaron Hall, Jan-Hein Bührman, Valentin Beyer, ewjoachim, josephsmeng, pombredanne, remi.lapeyre, rhettinger, serhiy.storchaka, xtreak |
|---|
| Date | 2019-02-05.01:52:26 |
|---|
| SpamBayes Score | -1.0 |
|---|
| Marked as misclassified | Yes |
|---|
| Message-id | <1549331547.08.0.293109549816.issue30670@roundup.psfhosted.org> |
|---|
| In-reply-to | |
|---|
| Content |
|---|
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) |
|