[issue11175] allow argparse FileType to accept encoding and errors arguments

Petri Lehtinen report at bugs.python.org
Sat Dec 15 21:46:16 CET 2012


Petri Lehtinen added the comment:

Committed, thanks for the patch!

I made little tweaks before committing:

- changed l1 to UTF-8 in the example (guess you mis-uploaded the latest version)
- changed the argument to 'replace' in test_r_1_replace
- fixed 3-space indentation to 4-space indentation in test_open_args

----------
resolution:  -> fixed
stage: commit review -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list