[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

Evan report at bugs.python.org
Fri Dec 16 22:45:24 EST 2016


Evan added the comment:

This issue is relevant to Python 2 on Windows since you need to disable the EOL conversion if you're trying to receive binary data on stdin.

See: http://stackoverflow.com/questions/2850893/reading-binary-data-from-stdin

----------
nosy: +evan_

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


More information about the Python-bugs-list mailing list