• Guido van Rossum's avatar
    Make all the multibyte codec tests pass. · 024da5c2
    Guido van Rossum yazdı
    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. :-(
    024da5c2
test_codecencodings_cn.py 2.01 KB