| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
a help on environment with too small COLUMNS. Based on patch by
Elazar Gershuni.
|
| |
| |
| |
| |
| | |
a help on environment with too small COLUMNS. Based on patch by
Elazar Gershuni.
|
| |
| |
| |
| |
| |
| | |
output to stdout, matching the 'python -v'
Reported by Wolfgang Maier
|
| |
| |
| |
| | |
as reported by Serhiy Storchaka and Matthew Barnett.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Patch by Lucas Maystre.
|
|/ |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
on the action's default, reverting it back to previous behavior. Conversion
is only done on string defaults.
Add a test for this and another test that ensures such type conversions are
only called once.
|
|\ \
| |/
| |
| | |
when action='append', type='str' and default=[].
|
| |
| |
| |
| | |
when action='append', type='str' and default=[].
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
This fixes a regression introduced by the fix for issue #13922. Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a regression introduced by the fix for issue #13922. Although args
is not documented as being allowed to be a tuple, previously this worked and
so naturally there are programs in the field that depend on it.
Patch by Zbyszek Jędrzejewski-Szmek.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before, the type function was called twice in the case where the default
was specified and the argument was given as well. This was especially
problematic for the FileType type, as a default file would always be
opened, even if a file argument was specified on the command line.
Patch by Arnaud Fontaine, with additional test by Mike Meyer.
|
|\ \
| |/
| |
| | |
Patch by Jeff Knupp.
|
| |
| |
| |
| | |
Patch by Jeff Knupp.
|
|\ \
| |/
| |
| | |
Patch by Torsten Landschoff.
|
| |
| |
| |
| | |
Patch by Torsten Landschoff.
|
|\ \
| |/ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fix and initial test patch by Michele Orrù.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
from 3.2.)
|
| | |
|
|\ \
| |/
| |
| | |
(Merge from 3.2.)
|
| | |
|
|/
|
|
| |
for the names of optional and positional arguments in help messages.
|
| |
|
|
|
|
| |
argparse.FileType. Approved by Georg in the tracker.
|
|
|
|
| |
for beta2 on the tracker.
|
| |
|
|
|
|
|
|
|
| |
argparse (#10528).
There is no unit test; I checked with xgettext that no more warnings
were emitted. Steven approved the change.
|
|
|
|
|
| |
Steven, the maintainer of argparse, agreed to have this committed
without tests for now, since the fix is obvious. See the bug log.
|
| |
|
|
|
|
| |
brackets were being lost in the usage messages
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
An argparse option parser created with a prefix_chars that did not
include a '-' would happily add -h and --help options, and then throw
an error when it tried to format the help because the - was an invalid
prefix character. This patch makes it use the first character of
prefix_chars as the character for the help options if and only if '-'
is not one of the valid prefix_chars.
Fix by Theodore Turocy, unit tests by Catherine Devlin.
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81492 | steven.bethard | 2010-05-23 20:45:26 -0700 (Sun, 23 May 2010) | 1 line
Fix default value for version help. Approved by Benjamin on python-dev: http://mail.python.org/pipermail/python-dev/2010-May/100231.html
........
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r79385 | benjamin.peterson | 2010-03-24 17:03:09 -0500 (Wed, 24 Mar 2010) | 1 line
replace copy right notice with simple attribution
........
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78600 | benjamin.peterson | 2010-03-02 16:58:01 -0600 (Tue, 02 Mar 2010) | 1 line
remove code to avoid BaseException.message bug
........
r78601 | benjamin.peterson | 2010-03-02 17:02:02 -0600 (Tue, 02 Mar 2010) | 1 line
remove cross-version compatibility code
........
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78586 | benjamin.peterson | 2010-03-02 16:03:03 -0600 (Tue, 02 Mar 2010) | 1 line
remove coding cookie as mandated by PEP 8
........
r78587 | benjamin.peterson | 2010-03-02 16:05:59 -0600 (Tue, 02 Mar 2010) | 1 line
set svn:eol-style
........
r78588 | benjamin.peterson | 2010-03-02 16:08:40 -0600 (Tue, 02 Mar 2010) | 1 line
remove another coding cookie
........
r78589 | georg.brandl | 2010-03-02 16:17:38 -0600 (Tue, 02 Mar 2010) | 1 line
Add some x-refs.
........
r78590 | benjamin.peterson | 2010-03-02 16:20:10 -0600 (Tue, 02 Mar 2010) | 1 line
enable running of argparse tests and fix two that failed in the new environment
........
r78591 | benjamin.peterson | 2010-03-02 16:23:33 -0600 (Tue, 02 Mar 2010) | 1 line
prevent warning filter adjustment from altering other tests
........
r78592 | benjamin.peterson | 2010-03-02 16:24:30 -0600 (Tue, 02 Mar 2010) | 1 line
use test_main() in __main__ section
........
r78593 | benjamin.peterson | 2010-03-02 16:26:25 -0600 (Tue, 02 Mar 2010) | 1 line
convert deprecated fail* methods to assert* variants
........
|