[issue21075] fileinput should use stdin.buffer for "rb" mode
Sam Kimbrel
report at bugs.python.org
Tue Apr 15 18:37:44 CEST 2014
Sam Kimbrel added the comment:
Patch attached that checks for 'b' in self._mode and sets self._file to sys.stdin.buffer as appropriate.
----------
keywords: +patch
nosy: +sam.kimbrel
Added file: http://bugs.python.org/file34880/21075-fileinput-stdin.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21075>
_______________________________________
More information about the Python-bugs-list
mailing list