• Kirill Smelkov's avatar
    *: Pass bytes literal into BytesIO · 2f9e0623
    Kirill Smelkov authored
    Otherwise it breaks with str on py3:
    
    	In [1]: from io import BytesIO
    
    	In [2]: BytesIO("abc")
    	---------------------------------------------------------------------------
    	TypeError                                 Traceback (most recent call last)
    	<ipython-input-2-52a130edd46d> in <module>()
    	----> 1 BytesIO("abc")
    
    	TypeError: a bytes-like object is required, not 'str'
    2f9e0623
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...