• 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
..
test Loading commit data...
__init__.py Loading commit data...
help.py Loading commit data...
util.py Loading commit data...
zodb.py Loading commit data...
zodbanalyze.py Loading commit data...
zodbcmp.py Loading commit data...
zodbcommit.py Loading commit data...
zodbdump.py Loading commit data...
zodbinfo.py Loading commit data...