b1681189af1157d9b6161c8a3a645c2eb816b415 |
|
22-Jan-2017 |
Xiang Zhang <angwerzx@126.com> |
Issue #29290: Merge 3.5.
|
7fe28ad8375677a6d696271d48783d6c38a74dce |
|
22-Jan-2017 |
Xiang Zhang <angwerzx@126.com> |
Issue #29290: argparse help messages won't wrap at non-breaking spaces.
/external/python/cpython3/Lib/argparse.py
|
9ae505041fea29dfc52c86968db48e8c78500ecc |
|
23-Aug-2016 |
Vinay Sajip <vinay_sajip@yahoo.co.uk> |
Issue #12713: reverted fix pending further discussion.
/external/python/cpython3/Lib/argparse.py
|
ef948cd058180a2fb38d792c912c9b14d190d6c7 |
|
18-Aug-2016 |
Vinay Sajip <vinay_sajip@yahoo.co.uk> |
Closes #12713: Allowed abbreviation of subcommands in argparse.
/external/python/cpython3/Lib/argparse.py
|
841b930a41be90c6c05fb4bab8392f50e01d86b7 |
|
05-Mar-2016 |
Berker Peksag <berker.peksag@gmail.com> |
Issue #17940: Remove redundant code from _Section.format_help() Output of func(*args) stored in the next line: item_help = join([func(*args) for func, args in self.items]) _Section.items only used by HelpFormatter._add_item() and it looks like it doesn't have any side effects. Patch by Yogesh Chaudhari.
/external/python/cpython3/Lib/argparse.py
|
76b1714be84ab6e73b9b0716cbb233f044318516 |
|
29-Jul-2015 |
Berker Peksag <berker.peksag@gmail.com> |
Issue #24360: Improve __repr__ of argparse.Namespace() for invalid identifiers. Patch by Matthias Bussonnier.
/external/python/cpython3/Lib/argparse.py
|
8089cd642fa8b29e852506218b6355be064c2bd5 |
|
14-Feb-2015 |
Berker Peksag <berker.peksag@gmail.com> |
Issue #14910: Add allow_abbrev parameter to argparse.ArgumentParser. Patch by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson.
/external/python/cpython3/Lib/argparse.py
|
08448a1f4d57e4dd35936b9e43259438d3246c06 |
|
30-Jan-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ implementation in issue #21408 they are redundant.
/external/python/cpython3/Lib/argparse.py
|
2514f52f4f20723727efe9c686aa16a8d1ef3089 |
|
20-Oct-2014 |
Georg Brandl <georg@python.org> |
Closes #22675: fix typo.
/external/python/cpython3/Lib/argparse.py
|
7570cbdc6b394cd89990a9252284c7e4a87bd6f1 |
|
18-Oct-2014 |
R David Murray <rdmurray@bitdance.com> |
#9351: set_defaults on subparser is no longer ignored if set on parent. Before, if a default was set on the parent parser, any default for that variable set via set_defaults on a subparser would be ignored. Now the subparser set_defaults is honored. Patch by Jyrki Pullianinen.
/external/python/cpython3/Lib/argparse.py
|
dea46ec9654a6412e74a6f8dfbdf97ff97516670 |
|
26-May-2014 |
Raymond Hettinger <python@rcn.com> |
Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types.
/external/python/cpython3/Lib/argparse.py
|
123e6d5b4b17e182cfa49b0913bfc0b77ecb2585 |
|
09-Jan-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #13107: argparse and optparse no longer raises an exception when output a help on environment with too small COLUMNS. Based on patch by Elazar Gershuni.
|
f451112413b9ea8940c8c3a902cddf701c62d17f |
|
09-Jan-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #13107: argparse and optparse no longer raises an exception when output a help on environment with too small COLUMNS. Based on patch by Elazar Gershuni.
/external/python/cpython3/Lib/argparse.py
|
cdac5516750e3b80b846e0e156e496dd92be9b56 |
|
06-Sep-2013 |
Eli Bendersky <eliben@gmail.com> |
Issue #18920: argparse's default version action (for -v, --version) should output to stdout, matching the 'python -v' Reported by Wolfgang Maier
/external/python/cpython3/Lib/argparse.py
|
8e7586bd44cf2a117228bb8d2b2de52ae1e88fab |
|
11-Mar-2013 |
Terry Jan Reedy <tjreedy@udel.edu> |
Issue #17047: remove doubled words added in 3.4, as reported by Serhiy Storchaka and Matthew Barnett.
/external/python/cpython3/Lib/argparse.py
|
2f50aaf2ff427fb713e82699a6dcbeeb038b10c2 |
|
12-Feb-2013 |
Giampaolo Rodola' <g.rodola@gmail.com> |
modernize some modules' code by using with statement around open()
/external/python/cpython3/Lib/argparse.py
|
f7a17b48d748e1835bcf9df86fb7fb318bb020f8 |
|
25-Dec-2012 |
Andrew Svetlov <andrew.svetlov@gmail.com> |
Replace IOError with OSError (#16715)
/external/python/cpython3/Lib/argparse.py
|
74d6c250e1ce0e5efc03575eaaa1b8cab66241eb |
|
15-Dec-2012 |
Petri Lehtinen <petri@digip.org> |
#11175: argparse.FileType now accepts encoding and errors arguments. Patch by Lucas Maystre.
/external/python/cpython3/Lib/argparse.py
|
4993cc0a5b34dc91da2b41c50e33d809f0191355 |
|
01-Oct-2012 |
Philip Jenvey <pjenvey@underboss.org> |
utilize yield from
/external/python/cpython3/Lib/argparse.py
|
d89774e1581ad2ca03ba06876d0fe4f2a2d8ff91 |
|
12-Sep-2012 |
Barry Warsaw <barry@python.org> |
Merge 3.2 fix updates and tests for issue #15906.
|
2dceb359cb0353d4f327fc36be27e67a3e94566e |
|
12-Sep-2012 |
Barry Warsaw <barry@python.org> |
Update merge from 2.7: s/basetring/str
/external/python/cpython3/Lib/argparse.py
|
eaae1b76aecd2c2fc1cf1aa1578db69e7d1464e6 |
|
12-Sep-2012 |
Barry Warsaw <barry@python.org> |
A follow up for issue #15906: change the test for calling the type conversion 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.
/external/python/cpython3/Lib/argparse.py
|
0ae066b28141ec96504f30eb2a32206896853935 |
|
12-Sep-2012 |
Barry Warsaw <barry@python.org> |
- Issue #15906: Fix a regression in argparse caused by the preceding change, when action='append', type='str' and default=[].
|
4b2f9e914d497d6b2b5ec09a03da8b6f171dffed |
|
12-Sep-2012 |
Barry Warsaw <barry@python.org> |
- Issue #15906: Fix a regression in argparse caused by the preceding change, when action='append', type='str' and default=[].
/external/python/cpython3/Lib/argparse.py
|
63755f3bd94c7e193a44324d3248b2478cbf47fc |
|
08-Sep-2012 |
R David Murray <rdmurray@bitdance.com> |
merge #15847: allow args to be a tuple in parse_args 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.
|
b522828d2a6bdc4438441eda837a696851ba4263 |
|
08-Sep-2012 |
R David Murray <rdmurray@bitdance.com> |
#15847: allow args to be a tuple in parse_args 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.
/external/python/cpython3/Lib/argparse.py
|
64b0ef15097017b20b1edca1d3bc1e38d51feb10 |
|
01-Sep-2012 |
R David Murray <rdmurray@bitdance.com> |
Merge #12776,#11839: call argparse type function only once. 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.
|
6fb8fb17bff87fdd5e738430502f34f8729766e3 |
|
01-Sep-2012 |
R David Murray <rdmurray@bitdance.com> |
#12776,#11839: call argparse type function only once. 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.
/external/python/cpython3/Lib/argparse.py
|
45ccf032beb03aab5e35b1ae6b1c38252506fde0 |
|
22-Jul-2012 |
R David Murray <rdmurray@bitdance.com> |
Merge #13922: argparse no longer incorrectly strips '--' after the first one. Patch by Jeff Knupp.
|
00528e8fec37bdf203bdb172ec3363353268d908 |
|
22-Jul-2012 |
R David Murray <rdmurray@bitdance.com> |
#13922: argparse no longer incorrectly strips '--' after the first one. Patch by Jeff Knupp.
/external/python/cpython3/Lib/argparse.py
|
d4703d1d85fc00aeb8f46d945ce7b34606604992 |
|
22-Jul-2012 |
R David Murray <rdmurray@bitdance.com> |
Merge #12353: argparse now correctly handles null argument values. Patch by Torsten Landschoff.
|
b94082a71b6b141cdcdde52a0f01b10f9334b5a8 |
|
22-Jul-2012 |
R David Murray <rdmurray@bitdance.com> |
#12353: argparse now correctly handles null argument values. Patch by Torsten Landschoff.
/external/python/cpython3/Lib/argparse.py
|
af418b2232e81499a81b7aa1d4879a9b594fc6a9 |
|
21-Jul-2012 |
R David Murray <rdmurray@bitdance.com> |
Merge #14391: clarify docstring discussion of Action's 'type' argument's value.
|
15cd9a0be4cfa7875267a06046a8c20ab8bb3482 |
|
21-Jul-2012 |
R David Murray <rdmurray@bitdance.com> |
#14391: clarify docstring discussion of Action's 'type' argument's value.
/external/python/cpython3/Lib/argparse.py
|
af1adbeedd9717fa8cfd47b3fa248a8169d7ef8e |
|
07-Jul-2012 |
Florent Xicluna <florent.xicluna@gmail.com> |
Issue #13248: argparse: Remove obsolete argument "version" of ArgumentParser.
/external/python/cpython3/Lib/argparse.py
|
aabbda5354407cfe35097c7f17717a716a3d80c4 |
|
28-Oct-2011 |
Florent Xicluna <florent.xicluna@gmail.com> |
Merge 3.2
|
5d1155c08edf7f53eca804b2b6538636c2dfe711 |
|
28-Oct-2011 |
Florent Xicluna <florent.xicluna@gmail.com> |
Closes #13258: Use callable() built-in in the standard library.
/external/python/cpython3/Lib/argparse.py
|
d8b509b192a67f0f217ae52ed81fc91bc27a1818 |
|
28-Sep-2011 |
Ezio Melotti <ezio.melotti@gmail.com> |
#13012: use splitlines(keepends=True/False) instead of splitlines(0/1).
/external/python/cpython3/Lib/argparse.py
|
f97c59aaba2d93e48cbc6d25f7ff9f9c87f8d0b2 |
|
09-Jun-2011 |
R David Murray <rdmurray@bitdance.com> |
#10424: argument names are now included in the missing argument message Fix and initial test patch by Michele Orrù.
/external/python/cpython3/Lib/argparse.py
|
7c8ea37d9bc66db3e6ea0b6a90c3f8b3deafaac1 |
|
04-Apr-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9347: Fix formatting for tuples in argparse type= error messages.
|
7cb20a8605d79faae64cccf8bbe8418b492f0e30 |
|
04-Apr-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9347: Fix formatting for tuples in argparse type= error messages.
/external/python/cpython3/Lib/argparse.py
|
4ad8f6655992776954ac81975e8697e03c276f37 |
|
27-Mar-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9026: Fix order of argparse sub-commands in help messages. (Merged from 3.2.)
|
8a6a198abff504067fb74b669c672901a97a44b6 |
|
27-Mar-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9026: Fix order of argparse sub-commands in help messages.
/external/python/cpython3/Lib/argparse.py
|
edbe4c5249cb96dfe55e114de998ef7d4122bfe5 |
|
26-Mar-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9348: Raise an early error if argparse nargs and metavar don't match. (Merge from 3.2.)
|
8d9a4628c35811a803bde626c76573c722beea03 |
|
26-Mar-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9348: Raise an early error if argparse nargs and metavar don't match.
/external/python/cpython3/Lib/argparse.py
|
0331e906d6a3e52b2679284cebd71a2513a00bfe |
|
26-Mar-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #11174: Add argparse.MetavarTypeHelpFormatter, which uses type names for the names of optional and positional arguments in help messages.
/external/python/cpython3/Lib/argparse.py
|
0f6b47a338fdc0063c651657fcbb6908da27f0b9 |
|
30-Jan-2011 |
Georg Brandl <georg@python.org> |
#10680: fix mutually exclusive arguments in argument groups.
/external/python/cpython3/Lib/argparse.py
|
b02701101b94bda88179652b0133557baa801368 |
|
24-Jan-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9509: make argarse properly handle IOErrors raised by argparse.FileType. Approved by Georg in the tracker.
/external/python/cpython3/Lib/argparse.py
|
fd311a712d5876c3a3efff265978452eea759f85 |
|
18-Dec-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg for beta2 on the tracker.
/external/python/cpython3/Lib/argparse.py
|
1215915045d620d44e14ba12af8949f8ec700b5d |
|
04-Dec-2010 |
Éric Araujo <merwok@netwok.org> |
Use proper plural forms in argparse (#4391)
/external/python/cpython3/Lib/argparse.py
|
bb48a8b59a8e8573f6ba2761c09fc1ad271d8068 |
|
03-Dec-2010 |
Éric Araujo <merwok@netwok.org> |
Allow translators to reorder placeholders in localizable messages from argparse (#10528). There is no unit test; I checked with xgettext that no more warnings were emitted. Steven approved the change.
/external/python/cpython3/Lib/argparse.py
|
a9c7a8fa5bded740bba314cb07ebd3c99eba928e |
|
03-Dec-2010 |
Éric Araujo <merwok@netwok.org> |
Fix incorrect use of gettext in argparse (#10497). Steven, the maintainer of argparse, agreed to have this committed without tests for now, since the fix is obvious. See the bug log.
/external/python/cpython3/Lib/argparse.py
|
fca2e8aeb8e841a18c4b9d2954254b2a086a3d56 |
|
02-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Fix bug 9340 - argparse parse_known_args didn't work with subparsers
/external/python/cpython3/Lib/argparse.py
|
49998eec49f16262381219eb43dcb58bbe092842 |
|
01-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Fix for issue 9355 where with multiple mutually exclusive arguments, some brackets were being lost in the usage messages
/external/python/cpython3/Lib/argparse.py
|
1ca45a5292a382d5902b80de5c8274994a985e84 |
|
01-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Fix bug 9352 where characters were being lost in parsing some short options
/external/python/cpython3/Lib/argparse.py
|
72c553829a271923fc110c23af49b8a4a0a5367e |
|
01-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Get argparse.__all__ back up to date (issue 9353)
/external/python/cpython3/Lib/argparse.py
|
88c49fe32054e28627eb41134656da606e9f9595 |
|
03-Aug-2010 |
R. David Murray <rdmurray@bitdance.com> |
#9444: use first of prefix_chars for help opt instead of raising error 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.
/external/python/cpython3/Lib/argparse.py
|
50fe593ae97230d1d058844908a04e6b03855f7f |
|
24-May-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Merged revisions 81492 via svnmerge from 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 ........
/external/python/cpython3/Lib/argparse.py
|
2b37fc4ce3efef7d49c3c989de0667c2a319048d |
|
24-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
Merged revisions 79385 via svnmerge from 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 ........
/external/python/cpython3/Lib/argparse.py
|
16f2fd013d4559f1458efbf21c68034d85bb255e |
|
03-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
Merged revisions 78600-78601 via svnmerge from 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 ........
/external/python/cpython3/Lib/argparse.py
|
698a18aa9e8e0f3fca081dc12544002a4d0e83ec |
|
02-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
Merged revisions 78586-78593 via svnmerge from 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 ........
/external/python/cpython3/Lib/argparse.py
|
6d265699e67e14fefc5bba3e27348b663ca4515f |
|
02-Mar-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Merged revisions 78576 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78576 | steven.bethard | 2010-03-02 00:38:09 -0800 (Tue, 02 Mar 2010) | 3 lines Initial commit of the argparse library, based on argparse 1.1. Docs still need some updating to make getopt and optparse match the wording promised in the PEP. There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation. ........
/external/python/cpython3/Lib/argparse.py
|