I think the whole pprint module needs an alternate implementation built on a fresh design for easy extendibility and customization. The current module has been pushed about as far as it can go without having to make untenable guesses about how classes want to be displayed. ISTM there is no one size fits all solution that we can just plop in the current pprint design.
BorjaEst commentedDec 15, 2022
Feature or enhancement
pprint collections with correct indentation and line breaks.
Pitch
It simplifies repr methods in complex dataclasses.
Previous discussion
How to pprint custom collection
The text was updated successfully, but these errors were encountered: