Joshua Chia added the comment:
Added test case
--
resolution: - duplicate
status: open - closed
Added file: http://bugs.python.org/file29639/test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13271
Joshua Chia added the comment:
Seems to be duplicate of http://bugs.python.org/issue12776
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13271
___
Changes by Éric Araujo mer...@netwok.org:
--
stage: test needed - committed/rejected
superseder: - argparse: type conversion function should be called only once
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13271
Changes by Tshepang Lekhonkhobe tshep...@gmail.com:
--
nosy: +tshepang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13271
___
___
Steven Bethard steven.beth...@gmail.com 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
Petri Lehtinen pe...@digip.org added the comment:
Sounds like a but to me, too.
--
stage: - test needed
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13271
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13271
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org
New submission from Joshua Chia joshc...@gmail.com:
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'),
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +bethard, eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13271
___
___
10 matches
Mail list logo