<div dir="ltr">It's a great idea to be able to do this. Fortunately, you already can. Changing the Python default is a terrible idea for all the other reasons people mentioned, not least of which is the fact that pprint doesn't work for all inputs.<div>

<br></div><div>I suggest writing a recipe that provides a pprint-ish replacement for repr. I suggest producing results that are identical to repr with only two exceptions: (1) adding whitespace, (2) adding line breaks to strings. While I would never add this by default, there are certainly times where I would prefer prettier output.</div>

</div>