• Kirill Smelkov's avatar
    *: Don't use %r to print/report lines/bytes to outside · bc608aea
    Kirill Smelkov authored
    %r has different output for strings and bytes on python3:
    
    	In [1]: a = 'hello'
    	In [2]: b = b'hello'
    
    	In [3]: repr(a)
    	Out[3]: "'hello'"
    
    	In [4]: repr(b)
    	Out[4]: "b'hello'"
    
    -> Use qq whose output is stable irregardless of whether input is string or bytes.
    bc608aea
Name
Last commit
Last update
zodbtools Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
LICENSE-ZPL.txt Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...