[issue20363] BytesWarnings triggerred by test suite

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Thu Jan 23 21:36:08 CET 2014


Arfrever Frehtes Taifersar Arahesis added the comment:

I think that repr could be used:
str(bytes_instance)    ->  repr(bytes_instance)
"%s" % bytes_instance  ->  "%r" % bytes_instance

Any opinions?

----------

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


More information about the Python-bugs-list mailing list