Message373786
If the python-ideas discussion is fruitful, go ahead and re-open this tracker item.
Personally, I don't see how this would work. The pretty printing routines rely on knowing their current level of indentation. Also, much of the "prettiness" comes from making the output span multiple lines, so this wouldn't fit well in the middle of an f-string. Lastly, the pprint module leaves a lot to be desired and likely needs a rewrite from scratch, so it wouldn't be wise to tie it directly to a core language feature. |
|
Date |
User |
Action |
Args |
2020-07-17 00:56:11 | rhettinger | set | recipients:
+ rhettinger, eric.smith, Charles Machalow, xtreak |
2020-07-17 00:56:11 | rhettinger | set | messageid: <1594947371.26.0.290812741087.issue41312@roundup.psfhosted.org> |
2020-07-17 00:56:11 | rhettinger | link | issue41312 messages |
2020-07-17 00:56:10 | rhettinger | create | |
|