3c38dccf221d1bebb5711470a4641afa20a97294 |
|
05-Apr-2016 |
Martin Panter <vadmium+py@gmail.com> |
Fix typos in documentation and comments
/external/python/cpython2/Lib/test/test_argparse.py
|
07f90476b954382e7a7ce95af696d90100a6eea1 |
|
13-Jan-2015 |
Benjamin Peterson <benjamin@python.org> |
fix instances of consecutive articles (closes #23221) Patch by Karan Goel.
/external/python/cpython2/Lib/test/test_argparse.py
|
af26c15110b76195e62a06d17e39176d42c0511c |
|
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/cpython2/Lib/test/test_argparse.py
|
fb8899a597c5ef39706215a894fc8c5f5dbf85bc |
|
26-May-2014 |
Raymond Hettinger <python@rcn.com> |
Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types.
/external/python/cpython2/Lib/test/test_argparse.py
|
d7ffb77e6f3a54a71b053b17147da5cec05a2b11 |
|
04-Apr-2014 |
Benjamin Peterson <benjamin@python.org> |
make temporary read-only files writable, so rmtree can remove them (#21128)
/external/python/cpython2/Lib/test/test_argparse.py
|
9f8621fa7d3562f472b6a16854df51bfb3fdbd5f |
|
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/cpython2/Lib/test/test_argparse.py
|
03937a8755e189959c44e5035a3eb27db95a6efe |
|
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/cpython2/Lib/test/test_argparse.py
|
03fcfbef0aa9a0990d5cd3995defa8cd089f704c |
|
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/cpython2/Lib/test/test_argparse.py
|
a99c7dedcb9310d80f2cf29a747e05fdde2716bc |
|
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/cpython2/Lib/test/test_argparse.py
|
201018718fc55fada8fd159b86bc038c3d297597 |
|
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/cpython2/Lib/test/test_argparse.py
|
68f555c03ad32671a76c5762313bbf33c0ae4842 |
|
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/cpython2/Lib/test/test_argparse.py
|
056c31f9cc10a8697a40c817eae42f7e38a1cf80 |
|
22-Jul-2012 |
R David Murray <rdmurray@bitdance.com> |
#12353: argparse now correctly handles null argument values. Patch by Torsten Landschoff.
/external/python/cpython2/Lib/test/test_argparse.py
|
cfe6deb6f7ec42e8cb06a57d4dc540f64bb2f168 |
|
10-Jan-2012 |
Terry Jan Reedy <tjreedy@udel.edu> |
#11906 Make test_argparse work interactively by removing extra space in comparison string that argparse does not add when program name is blank.
/external/python/cpython2/Lib/test/test_argparse.py
|
9d38b0dcb2a0ca6fcaaff96642e98448f55633a3 |
|
20-Nov-2011 |
Victor Stinner <victor.stinner@haypocalc.com> |
Close #13401: Skip TestFileTypeW of test_argparse if the current user is root Patch written by Arfrever Frehtes Taifersar Arahesis.
/external/python/cpython2/Lib/test/test_argparse.py
|
e3c11b44e37e80371fcaf71880e659a78360e8b6 |
|
04-Apr-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9347: Fix formatting for tuples in argparse type= error messages.
/external/python/cpython2/Lib/test/test_argparse.py
|
bc3b104e46be0367b46d614f925ef78e4a0225ef |
|
27-Mar-2011 |
Steven Bethard <steven.bethard@gmail.com> |
Issue #9026: Fix order of argparse sub-commands in help messages. (Merged from 3.2.)
/external/python/cpython2/Lib/test/test_argparse.py
|
539586296d64a51cd58c8c45a7dd850cdcc05fcc |
|
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.)
/external/python/cpython2/Lib/test/test_argparse.py
|
561b96f98c8d396fe9e95feb9e02833cdd9025ba |
|
11-Feb-2011 |
R. David Murray <rdmurray@bitdance.com> |
Merged revisions 86542,87136,87216,87221,87228,87256,87337-87338,87372,87516,87571,88164 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86542 | r.david.murray | 2010-11-19 22:48:58 -0500 (Fri, 19 Nov 2010) | 2 lines Make test class name unique so that both test classes run. ........ r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines Have script_helper._assert_python strip refcount strings from stderr. This makes the output of the function and those that depend on it independent of whether or not they are being run under a debug build. ........ r87216 | r.david.murray | 2010-12-13 17:50:30 -0500 (Mon, 13 Dec 2010) | 2 lines #10698: fix typo in example. ........ r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines #10699: fix docstring for tzset: it does not take a parameter Thanks to Garrett Cooper for the fix. ........ r87228 | r.david.murray | 2010-12-13 21:25:43 -0500 (Mon, 13 Dec 2010) | 2 lines Turn on regrtest -W (rerun immediately) option for Windows, too. ........ r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines #10705: document what the values of debuglevel are and mean. ........ r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines #10559: provide instructions for accessing sys.argv when first mentioned. ........ r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines #10454: clarify the compileall docs and help messages. [changes to compileall.py were not backported, only the doc changes] ........ r87372 | r.david.murray | 2010-12-18 11:39:06 -0500 (Sat, 18 Dec 2010) | 2 lines #10728: the default for printing help is sys.stdout, not stderr. ........ r87516 | r.david.murray | 2010-12-27 15:09:32 -0500 (Mon, 27 Dec 2010) | 5 lines #7056: runtest and runtest_inner don't use testdir, so drop it from their sigs I've only tested regular runs and -j runs. If I've broken anything else I'm sure I'll hear about it sooner or later. ........ r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines Fix same typo in docs. ........ r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc. Original patch by Michal Nowikowski, with some additions and wording fixes by me. I changed the wording from 'Performs a stat system call' to 'Performs the equivalent of a stat system call', since on Windows there are no stat/lstat system calls involved. I also extended Michal's breakout of the attributes into a list to the other paragraphs, and rearranged the order of the paragraphs in the 'stat' docs to make it flow better and put it in what I think is a more logical/useful order. ........
/external/python/cpython2/Lib/test/test_argparse.py
|
7f41b88bb7b978205a438c7eea2b7f6bba6862d0 |
|
30-Jan-2011 |
Steven Bethard <steven.bethard@gmail.com> |
#10680: fix mutually exclusive arguments in argument groups.
/external/python/cpython2/Lib/test/test_argparse.py
|
f8583acb534432097671e79eb4110b9861dd2e17 |
|
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/cpython2/Lib/test/test_argparse.py
|
2623a37852153363335956afab010cb0beb7e74e |
|
21-Nov-2010 |
Ezio Melotti <ezio.melotti@gmail.com> |
Merged revisions 86596 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
/external/python/cpython2/Lib/test/test_argparse.py
|
2e4d4c414e4275b5a8cbcd152e04ed91fb72af79 |
|
02-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Merged revisions 86111 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86111 | steven.bethard | 2010-11-02 13:47:22 +0100 (Tue, 02 Nov 2010) | 1 line Fix bug 9340 - argparse parse_known_args didn't work with subparsers ........
/external/python/cpython2/Lib/test/test_argparse.py
|
68c3678253eb0bf1a15537d2725df9af15e2c913 |
|
01-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Merged revisions 86092 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86092 | steven.bethard | 2010-11-01 17:29:26 +0100 (Mon, 01 Nov 2010) | 1 line Fix for issue 9355 where with multiple mutually exclusive arguments, some brackets were being lost in the usage messages ........
/external/python/cpython2/Lib/test/test_argparse.py
|
784dd51ad297d31ee724f38a528ba8472e4b14f9 |
|
01-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Merged revisions 86090 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86090 | steven.bethard | 2010-11-01 16:57:36 +0100 (Mon, 01 Nov 2010) | 1 line Fix bug 9352 where characters were being lost in parsing some short options ........
/external/python/cpython2/Lib/test/test_argparse.py
|
931906a7f5974865c9e928332eb6dd8ba10a91c7 |
|
01-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Merged revisions 86086 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86086 | steven.bethard | 2010-11-01 16:23:12 +0100 (Mon, 01 Nov 2010) | 1 line Get argparse.__all__ back up to date (issue 9353) ........
/external/python/cpython2/Lib/test/test_argparse.py
|
abacccc50c891f32c83dcf9ae38fe310ecf87409 |
|
01-Nov-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Merged revisions 86080 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86080 | steven.bethard | 2010-11-01 14:56:09 +0100 (Mon, 01 Nov 2010) | 1 line Unset COLUMNS for test_argparse (and restore afterwards) (issue 9553) ........
/external/python/cpython2/Lib/test/test_argparse.py
|
f7c24450bebabbe9870b1b306ca2d9257ec280c6 |
|
14-Oct-2010 |
Antoine Pitrou <solipsis@pitrou.net> |
Merged revisions 85497 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85497 | antoine.pitrou | 2010-10-14 23:15:17 +0200 (jeu., 14 oct. 2010) | 3 lines Explicitly close some files (from issue #10093) ........
/external/python/cpython2/Lib/test/test_argparse.py
|
1cbf78e040b1ddfe7a1520d21ea34e1098848713 |
|
03-Aug-2010 |
R. David Murray <rdmurray@bitdance.com> |
Merged revisions 83675 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83675 | r.david.murray | 2010-08-03 13:56:09 -0400 (Tue, 03 Aug 2010) | 12 lines #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/cpython2/Lib/test/test_argparse.py
|
dce6e1bd5a5b41b22be10ba119fb5b6d5546959a |
|
24-May-2010 |
Steven Bethard <steven.bethard@gmail.com> |
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/cpython2/Lib/test/test_argparse.py
|
91a2c89288125b9509ce3fa8436f49a029031be4 |
|
08-Apr-2010 |
Michael Foord <fuzzyman@voidspace.org.uk> |
Switch regrtest to use StringIO instead of cStringIO for test_multiprocessing on Windows. Issue 8333.
/external/python/cpython2/Lib/test/test_argparse.py
|
6257a7bbb2660ae75c44f2e71d7ac2ce73900f74 |
|
01-Apr-2010 |
Florent Xicluna <florent.xicluna@gmail.com> |
Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests.
/external/python/cpython2/Lib/test/test_argparse.py
|
2ec1f27716ce8452302665e9c140ac8ae6fb472b |
|
25-Mar-2010 |
Steven Bethard <steven.bethard@gmail.com> |
Replace license with simple attribution.
/external/python/cpython2/Lib/test/test_argparse.py
|
6b31fd0f13f5730b5a9b70be91a0edba3781e194 |
|
07-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
eliminate py3k warnings in argparse
/external/python/cpython2/Lib/test/test_argparse.py
|
842b95b0303bff887862e70cac7fc0e3cb4b32ed |
|
03-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
plug ref leaks
/external/python/cpython2/Lib/test/test_argparse.py
|
0e717addd8a03ed10231a578fce894c07ddb157e |
|
03-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
remove cross-version compatibility code
/external/python/cpython2/Lib/test/test_argparse.py
|
bd56722a274287b4ce6212569aff546b572923ab |
|
02-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
remove code to avoid BaseException.message bug
/external/python/cpython2/Lib/test/test_argparse.py
|
fa31eaa5f6b831ea6c4e5c8e555b9fb07d47affa |
|
02-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
convert deprecated fail* methods to assert* variants
/external/python/cpython2/Lib/test/test_argparse.py
|
e4d90c23a33615c13dbc6c0748ca8945c816fcc0 |
|
02-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
use test_main() in __main__ section
/external/python/cpython2/Lib/test/test_argparse.py
|
4aa8a13b8630e7c3a828bf94199faed5e4311bf2 |
|
02-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
prevent warning filter adjustment from altering other tests
/external/python/cpython2/Lib/test/test_argparse.py
|
036fae39ac842103ea84b6fb2d7b3b9973abc5e1 |
|
02-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
enable running of argparse tests and fix two that failed in the new environment
/external/python/cpython2/Lib/test/test_argparse.py
|
5e32fe5f9dcc1b16a2231566da2f5df49bd8b0f6 |
|
02-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
remove another coding cookie
/external/python/cpython2/Lib/test/test_argparse.py
|
a39e966e97af0ca8cf395a2ab8a02555ebe684c7 |
|
02-Mar-2010 |
Benjamin Peterson <benjamin@python.org> |
set svn:eol-style
/external/python/cpython2/Lib/test/test_argparse.py
|
e9330e79419bf44c20cabeb2539e2c71e6af9e06 |
|
02-Mar-2010 |
Steven Bethard <steven.bethard@gmail.com> |
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/cpython2/Lib/test/test_argparse.py
|