]> granicus.if.org Git - python/commit
Use io.BytesIO instead of StringIO.StringIO in all
authorWalter Dörwald <walter@livinglogic.de>
Thu, 10 May 2007 15:02:49 +0000 (15:02 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Thu, 10 May 2007 15:02:49 +0000 (15:02 +0000)
commitc3ab0a75d15beb319ba7844ea0063bb015c4f3cd
tree20b21efd227c8f9a892fac269b2090a3bd9879c1
parent5205653a9ef70138cb6b9ab7bdfe8238602dfdab
Use io.BytesIO instead of StringIO.StringIO in all
spots where bytes are read and written (StringIO.StringIO
doesn't work, because it promotes bytes to str).
Lib/test/test_codecs.py