[issue9509] argparse FileType raises ugly exception for missing file

Steven Bethard report at bugs.python.org
Sun Jan 23 12:26:01 CET 2011


Steven Bethard <steven.bethard at gmail.com> added the comment:

Good point. Here's the updated patch that reports the IOError as well. All tests pass. I'll apply in a bit if I don't hear otherwise.

----------
Added file: http://bugs.python.org/file20491/argparse.diff

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


More information about the Python-bugs-list mailing list