This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients Andrew Grant, Clayton Olney, alex.dzyoba, alex.henderson, eli.bendersky, eric.araujo, eric.snow, loewis, martin.panter, mcepl, mitar, rhettinger, santoso.wijaya, scoder, serhiy.storchaka, tshepang, vstinner, wolma
Date 2019-08-10.17:06:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:16scodersetrecipients: + 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:16scodersetmessageid: <>
2019-08-10 17:06:16scoderlinkissue14465 messages
2019-08-10 17:06:16scodercreate