Ryosuke Ito added the comment: Add a test for fileinput.FileInput.readline() in 'rb' mode.
I'm sure this test fails on Python 3.5 and fixed in the patch(fileinput.py.diff). ---------- Added file: http://bugs.python.org/file40918/test_fileinput.py.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25510> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com