[issue24739] allow argparse.FileType to accept newline argument

Berker Peksag report at bugs.python.org
Thu Apr 20 00:11:59 EDT 2017


Berker Peksag added the comment:

I agree with paul j3. It would be nice to keep the current FileType API as is. The argparse documentation already encourages people to write their own custom types and I think this is a good use case for following the advice.

Thanks for the report!

----------
nosy: +berker.peksag
resolution:  -> rejected
stage:  -> resolved
status: open -> closed
versions: +Python 3.7 -Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

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


More information about the Python-bugs-list mailing list