Message349346
| 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 |
<1565456776.87.0.607158537562.issue14465@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|