Message349346
The spec section that Raymond quoted makes it clear that pretty printing is not for everyone. But there are many use cases where it is 1) helpful, 2) leads to correct results, and 3) does not grow the file size excessively. Whoever wants to make use of it is probably in such a situation. I think adding some kind of support in the standard library would be nice, but it should not hurt "normal" uses, especially when a lot of data is involved.
I'll send a PR that adds an indent() function to pre-process trees. Comments welcome. |
|
Date |
User |
Action |
Args |
2019-08-10 17:06:16 | scoder | set | recipients:
+ scoder, loewis, rhettinger, vstinner, mcepl, eric.araujo, eli.bendersky, mitar, santoso.wijaya, tshepang, eric.snow, martin.panter, serhiy.storchaka, alex.henderson, wolma, alex.dzyoba, Clayton Olney, Andrew Grant |
2019-08-10 17:06:16 | scoder | set | messageid: <1565456776.87.0.607158537562.issue14465@roundup.psfhosted.org> |
2019-08-10 17:06:16 | scoder | link | issue14465 messages |
2019-08-10 17:06:16 | scoder | create | |
|