Serhiy Storchaka added the comment: Here is revised patch.
* Behavior is changed less. read() is less greedy and uses characters from the buffer when read() is called with only one argument (size). It is now a little closer to io stream's read() than with previous patch. * Added tests for cases of issue12446 and issue16636. * Fixed read() for for the TransformCodecTest.test_read test added in 3.4. Actually the uu_codec and zlib_codec are broken. ---------- versions: -Python 3.2 Added file: http://bugs.python.org/file33410/codecs_read-3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8260> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com