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

2011-04-12 Thread Paolo Elvati
New submission from Paolo Elvati : Hi, when a default is specified for a file argument that is open with writing permission (FileType('w')), the default file is always created even if the argument is specified in the command line. For example he code: import argpar

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

2012-05-03 Thread Paolo Elvati
Changes by Paolo Elvati : -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/issue11839> ___ ___ Python-bugs-

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

2012-05-03 Thread Paolo Elvati
Changes by Paolo Elvati : -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue11839> ___ ___ Python-bugs-list mailing list Unsubscri

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

2012-05-03 Thread Paolo Elvati
Changes by Paolo Elvati : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue11839> ___ ___ Python-bugs-list mailing list Unsubscri