New submission from Matt Joiner <anacro...@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)
messages: 154612
nosy: anacrolix
priority: normal
severity: normal
status: open
title: argparse.FileType for '-' doesn't work for a mode of 'rb'
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14156>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to