]> granicus.if.org Git - python/commit
Fix io.StringIO: String are stored encoded (using "unicode-internal" as the
authorWalter Dörwald <walter@livinglogic.de>
Wed, 16 May 2007 12:47:53 +0000 (12:47 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Wed, 16 May 2007 12:47:53 +0000 (12:47 +0000)
commit9d2ac227210fa8c7ba14a581747d1a1836e7274c
tree59c65cffa19f4429d84b2a2f929447e1a1086c68
parentc9e363c2eb3eed920bcd0d08a2eabdfa939b1270
Fix io.StringIO: String are stored encoded (using "unicode-internal" as the
encoding) which makes the buffer mutable. Strings are encoded on the way in
and decoded on the way out.

Use io.StringIO in test_codecs.py.

Fix the base64_codec test in test_codecs.py.
Lib/io.py
Lib/test/test_codecs.py