[issue9509] argparse FileType raises ugly exception for missing file

SilentGhost report at bugs.python.org
Sat Nov 27 15:52:33 CET 2010


SilentGhost <michael.mischurow+bpo at gmail.com> added the comment:

Steven, I'm not sure why you're insisting on ArgumentTypeError, when it should be ArgumentError. The file name is not coerced into a different file type, but rather the error occurs when trying to use parameter passed.

In any way, my patch is still available. Do you not like something about it?

----------

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


More information about the Python-bugs-list mailing list