[issue11839] argparse: unexpected behavior of default for FileType('w')

Manveru report at bugs.python.org
Wed Apr 27 14:44:01 CEST 2011


Manveru <manveru at manveru.pl> added the comment:

I have the same issue with default here with 2.7.

Fortunately I have my own type function so I can prevent is by changing my internal state. This is however only a workaround for real bug in the argparse.

----------
nosy: +manveru
versions: +Python 2.7

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


More information about the Python-bugs-list mailing list