Skip to content

Work around bug in argparse.FileType

This works around a bug in CPython's argparse.FileType class, where stdin and stdout are opened in text mode even if the mode is specified as 'rb' or 'wb'.

See https://bugs.python.org/issue14156.

Merge request reports

Loading