]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Stream functions like read() are supposed to return bytes, not buffer.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 22 Nov 2007 21:33:52 +0000 (21:33 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 22 Nov 2007 21:33:52 +0000 (21:33 +0000)
commit3ee05afa53663452da0176c6a35cffeb8d45166d
treec869e6784087f9969ada93555e2437ca633bf5d4
parentaf59346f1ac1d1acf0d17b789d0e69f6d95d6e38
Stream functions like read() are supposed to return bytes, not buffer.
Now multibytecodec directly works with PyStrings, and disallow PyBytes.
Modules/cjkcodecs/multibytecodec.c