[issue32157] Remove explicit quotes around %r and {!r}

Ethan Furman report at bugs.python.org
Tue Nov 28 12:27:40 EST 2017


Ethan Furman <ethan at stoneleaf.us> added the comment:

I make sure to use %r in error-reporting and debugging messages precisely because it's output is (usually) valid python.  If I see a 1 without quotes I know it's a number, and with quotes I know it's a string.

-1

----------
nosy: +ethan.furman

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


More information about the Python-bugs-list mailing list