]> granicus.if.org Git - python/commit
Make all the multibyte codec tests pass.
authorGuido van Rossum <guido@python.org>
Thu, 17 May 2007 23:59:11 +0000 (23:59 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 17 May 2007 23:59:11 +0000 (23:59 +0000)
commit024da5c2576f196dede4bfa0fc5808019bd54fd8
tree5ddf497e06e42dac48d3d17ee288332b0a956296
parentf4cfc8f6bb47e77ca954b58b436f2157b5b6f530
Make all the multibyte codec tests pass.
Changes to io.py, necessary to make this work:
- Redid io.StringIO as a TextIOWrapper on top of a BytesIO instance.
- Got rid of _MemoryIOMixin, folding it into BytesIO instead.
- The read() functions that take -1 to mean "eveything" now also take None.
- Added readline() support to BufferedIOBase. :-(
Lib/io.py
Lib/test/cjkencodings_test.py
Lib/test/test_codecencodings_cn.py
Lib/test/test_codecencodings_hk.py
Lib/test/test_codecencodings_jp.py
Lib/test/test_codecencodings_kr.py
Lib/test/test_codecencodings_tw.py
Lib/test/test_multibytecodec.py
Lib/test/test_multibytecodec_support.py
Modules/cjkcodecs/multibytecodec.c