[New-bugs-announce] [issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'
report at bugs.python.org
Wed Feb 29 12:01:11 CET 2012
New submission from Matt Joiner <anacrolix at gmail.com>:
If an argument of '-' is handled by argparse.FileType, it defaults to sys.stdin. However a mode of 'rb' is ignored, the returned file object does not work with raw bytes.
components: Library (Lib)
title: argparse.FileType for '-' doesn't work for a mode of 'rb'
versions: Python 3.3
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce