Serhiy Storchaka added the comment: Same as on Linux (and differs from 3.x). Thank you Zachary.
Here is corrected patch. Added also a test which tests that readline() doesn't read whole file. ---------- Added file: http://bugs.python.org/file34232/fileinput_hook_encoded_3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20501> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com