[issue41312] add !p to pprint.pformat() in str.format() an f-strings

Eric V. Smith report at bugs.python.org
Thu Jul 16 21:50:48 EDT 2020


Eric V. Smith <eric at trueblade.com> added the comment:

I agree with Raymond that it's unlikely that this will work, as a practical matter. In addition to the other problems mentioned, there's the issue of the many parameters to control pprint.

And I agree with pprint, or a replacement, needing a redesign. I think it should use singledispatch.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41312>
_______________________________________


More information about the Python-bugs-list mailing list