commit | 9d2ac227210fa8c7ba14a581747d1a1836e7274c | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Wed May 16 12:47:53 2007 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Wed May 16 12:47:53 2007 +0000 |
tree | 59c65cffa19f4429d84b2a2f929447e1a1086c68 | |
parent | c9e363c2eb3eed920bcd0d08a2eabdfa939b1270 [diff] |
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.