Michele Orrù <maker...@gmail.com> added the comment: The attached patch solves this issue.
I haven't added any unittest because test_argparse.py is quite huge - over 4300 lines-, and I was undecided between «ArgumentError tests» (4251) and «ArgumentTypeError tests» (4262). Any hint? However, file bug10424.py reproduces this bug. ---------- keywords: +patch Added file: http://bugs.python.org/file19646/issue10424.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10424> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com