<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/argparse.py, branch v3.7.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/argparse.py?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/argparse.py?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-06-08T11:33:50Z</updated>
<entry>
<title>bpo-11874: fix assertion failure in argparse metavar handling (GH-1826)</title>
<updated>2018-06-08T11:33:50Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-08T11:33:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=842985f6c70484ed7b8fc30d0bc05aec73236a98'/>
<id>urn:sha1:842985f6c70484ed7b8fc30d0bc05aec73236a98</id>
<content type='text'>
- bugfix and test for fragile metavar handling in argparse (see
  bpo-24089, bpo-14046, bpo-25058, bpo-11874)
- also fixes some incorrect tests that did not make 1-element tuples correctly
(cherry picked from commit 66f02aa32f1e4adb9f24cf186f8c495399d5ce9b)

Co-authored-by: wim glenn &lt;wim.glenn@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-33109: argparse subparsers are once again not required by default (GH-6919) (GH-7089)</title>
<updated>2018-05-24T02:22:46Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-24T02:22:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd7a255911f364cf521676082a89d4cac307737e'/>
<id>urn:sha1:dd7a255911f364cf521676082a89d4cac307737e</id>
<content type='text'>
bpo-26510 in 3.7.0a2 changed the behavior of argparse to make
subparsers required by default, returning to the behavior of 2.7
and 3.2. The behavior was changed in 3.3 to be no longer required.
While it might make more sense to have the default to required,
compatibility with 3.3 through 3.6 is probably less disruptive
than trying to reintroduce compatibility with 2.7 at this point.
This change restores the 3.6 behavior.
(cherry picked from commit 8ebf5ceb0f5408d1ebc26c19702ac0762ef5ea04)

Co-authored-by: Ned Deily &lt;nad@python.org&gt;</content>
</entry>
<entry>
<title>OrderedDict import is no longer needed (#4890)</title>
<updated>2018-01-12T06:20:33Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2018-01-12T06:20:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=05565ed27e4445e99b59268ba42cf4dd598ece77'/>
<id>urn:sha1:05565ed27e4445e99b59268ba42cf4dd598ece77</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-30152: Reduce the number of imports for argparse. (#1269)</title>
<updated>2017-09-25T21:55:55Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-09-25T21:55:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=81108375d9b2ccd0add1572da745311d4dfac505'/>
<id>urn:sha1:81108375d9b2ccd0add1572da745311d4dfac505</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-26510: make argparse subparsers required by default (#3027)</title>
<updated>2017-09-20T21:35:27Z</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2017-09-20T21:35:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aaf6fc0982c916cb71d9e0afcd7dda4ba495793b'/>
<id>urn:sha1:aaf6fc0982c916cb71d9e0afcd7dda4ba495793b</id>
<content type='text'>
This fixes a regression from Python 2.  To get optional subparsers,
use the new parameter ``add_subparsers(required=False)``.

Patch by Anthony Sottile.</content>
</entry>
<entry>
<title>bpo-14191 Add parse_intermixed_args. (#3319)</title>
<updated>2017-09-07T00:25:40Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2017-09-07T00:25:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0f6b9d230674da784ca79a0cf1a03d2af5a8b6a8'/>
<id>urn:sha1:0f6b9d230674da784ca79a0cf1a03d2af5a8b6a8</id>
<content type='text'>
This adds support for parsing a command line where options and positionals are intermixed as is common in many unix commands. This is paul.j3's patch with a few tweaks.</content>
</entry>
<entry>
<title>Issue #29290: Merge 3.5.</title>
<updated>2017-01-22T06:39:20Z</updated>
<author>
<name>Xiang Zhang</name>
<email>angwerzx@126.com</email>
</author>
<published>2017-01-22T06:39:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b1681189af1157d9b6161c8a3a645c2eb816b415'/>
<id>urn:sha1:b1681189af1157d9b6161c8a3a645c2eb816b415</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #29290: argparse help messages won't wrap at non-breaking spaces.</title>
<updated>2017-01-22T06:37:22Z</updated>
<author>
<name>Xiang Zhang</name>
<email>angwerzx@126.com</email>
</author>
<published>2017-01-22T06:37:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7fe28ad8375677a6d696271d48783d6c38a74dce'/>
<id>urn:sha1:7fe28ad8375677a6d696271d48783d6c38a74dce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #12713: reverted fix pending further discussion.</title>
<updated>2016-08-23T07:43:16Z</updated>
<author>
<name>Vinay Sajip</name>
<email>vinay_sajip@yahoo.co.uk</email>
</author>
<published>2016-08-23T07:43:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9ae505041fea29dfc52c86968db48e8c78500ecc'/>
<id>urn:sha1:9ae505041fea29dfc52c86968db48e8c78500ecc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Closes #12713: Allowed abbreviation of subcommands in argparse.</title>
<updated>2016-08-18T20:23:48Z</updated>
<author>
<name>Vinay Sajip</name>
<email>vinay_sajip@yahoo.co.uk</email>
</author>
<published>2016-08-18T20:23:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ef948cd058180a2fb38d792c912c9b14d190d6c7'/>
<id>urn:sha1:ef948cd058180a2fb38d792c912c9b14d190d6c7</id>
<content type='text'>
</content>
</entry>
</feed>
