[issue23467] Improve byte formatting compatibility between Py2 and Py3

Ethan Furman report at bugs.python.org
Sun Feb 15 21:28:09 CET 2015


Ethan Furman added the comment:

Sometimes practicality wins; it's why we allow %s, and we should also allow %r.

Both %s and %r need to be clearly documented as an aid to Py2/3 code bases, and not recommended for new code.

Serhiy, do you have time to take of this?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23467>
_______________________________________


More information about the Python-bugs-list mailing list