Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

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

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

May 2, 2012, 6:07 PM

Post #1 of 2 (65 views)
Permalink
[issue12776] argparse: type conversion function should be called only once

Mike Meyer <mwm [at] mired> added the comment:

I've just verified that this patch also fixes 13824 and 11839.
The attached patchfile adds a test to verify that using a non-existent default file fails if you don't specify the argument, and succeeds if you do.

Could someone please apply it?

----------
nosy: +Mike.Meyer
Added file: http://bugs.python.org/file25438/fopatch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue12776>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 2, 2012, 6:14 PM

Post #2 of 2 (65 views)
Permalink
[issue12776] argparse: type conversion function should be called only once [In reply to]

Mike Meyer <mwm [at] mired> added the comment:

Sorry - got ahead of myself. It doesn't fix 13824. A deeper reading reveals that the problem wasn't quite what I thought it on first glance.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue12776>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.