]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make attributes and local variables in the StreamReader str objects instead
authorWalter Dörwald <walter@livinglogic.de>
Wed, 20 Jul 2005 22:15:39 +0000 (22:15 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Wed, 20 Jul 2005 22:15:39 +0000 (22:15 +0000)
commitc9878e1b220b748788c3faa656257d5da4cd46c7
tree93c82f0d65fecef02e121768f00181b4800fd2f6
parent21c825417fc993d708c3ff57e2b8b97b09a20159
Make attributes and local variables in the StreamReader str objects instead
of unicode objects, so that codecs that do a str->str decoding won't promote
the result to unicode. This fixes SF bug #1241507.
Lib/codecs.py
Lib/test/test_codecs.py