[issue12776] argparse: type conversion function should be called only once

Steven Bethard report at bugs.python.org
Sat Jul 21 23:34:25 CEST 2012


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

The patch looks good to me. I've updated it for trunk and to include Mike Meyer's additional test. All argparse tests pass.

Anyone who's able to commit and backport, please do.

(I should be able to commit myself, but it's now been too long and my SSH key seems to no longer work. I'll eventually get this sorted out, but as you may have noticed, I don't have much time for argparse these days, so best not to wait on me.)

----------
Added file: http://bugs.python.org/file26467/py3k-argparse-call-type-function-once-v5.patch

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


More information about the Python-bugs-list mailing list