[issue13271] When -h is used with argparse, default values that fail should not matter

2013-03-31 Thread Éric Araujo
Changes by Éric Araujo : -- stage: test needed -> committed/rejected superseder: -> argparse: type conversion function should be called only once ___ Python tracker ___

[issue13271] When -h is used with argparse, default values that fail should not matter

2013-03-31 Thread Joshua Chia
Joshua Chia added the comment: Seems to be duplicate of http://bugs.python.org/issue12776 -- ___ Python tracker ___ ___ Python-bugs-li

[issue13271] When -h is used with argparse, default values that fail should not matter

2013-03-31 Thread Joshua Chia
Joshua Chia added the comment: Added test case -- resolution: -> duplicate status: open -> closed Added file: http://bugs.python.org/file29639/test.py ___ Python tracker ___ ___

[issue13271] When -h is used with argparse, default values that fail should not matter

2012-03-18 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13271] When -h is used with argparse, default values that fail should not matter

2011-12-15 Thread Steven Bethard
Steven Bethard added the comment: I think http://bugs.python.org/issue12776, which delays type conversions on defaults should solve this problem, right? If you agree, could you add your code here as a test case to that issue and mark this as duplicate? (And yes, I agree this is a bug.) -

[issue13271] When -h is used with argparse, default values that fail should not matter

2011-11-01 Thread Petri Lehtinen
Petri Lehtinen added the comment: Sounds like a but to me, too. -- stage: -> test needed versions: +Python 2.7, Python 3.2 ___ Python tracker ___ __

[issue13271] When -h is used with argparse, default values that fail should not matter

2011-10-27 Thread Éric Araujo
Éric Araujo added the comment: I’d argue this is a behavior bug that could be fixed in 2.7 and 3.2 too, but Steven will decide. -- nosy: +eric.araujo versions: +Python 3.3 -Python 2.7 ___ Python tracker _

[issue13271] When -h is used with argparse, default values that fail should not matter

2011-10-27 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue13271] When -h is used with argparse, default values that fail should not matter

2011-10-26 Thread Eric V. Smith
Changes by Eric V. Smith : -- nosy: +bethard, eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue13271] When -h is used with argparse, default values that fail should not matter

2011-10-26 Thread Joshua Chia
New submission from Joshua Chia : What steps will reproduce the problem? 1. Make a script containing this code: parser = argparse.ArgumentParser() parser.add_argument('-i', '--input-base-directory', type=argparse.FileType('r'), default='/home') parser