[issue21075] fileinput should use stdin.buffer for "rb" mode

Josh Rosenberg report at bugs.python.org
Fri Mar 28 00:26:29 CET 2014


Josh Rosenberg added the comment:

There is a similar, (unfixed?) bug, #14156, in argparse as well. Seems like a common failing in the move to Python 3; std*.buffer was introduced, but none of the places that use it were updated, so they all became str only.

----------
nosy: +josh.rosenberg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21075>
_______________________________________


More information about the Python-bugs-list mailing list