Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Or use !s or !r.

In some cases it may be even better to use both convertions: 
f'{str(path)!r:>50}'.

This is all application specific, so I do not think we should rethink our old 
decision. Explicit is better than implicit.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38222>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to