<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/argparse.py, branch 3.7</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=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/argparse.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2019-11-20T13:48:20Z</updated>
<entry>
<title>bpo-38821: Fix crash in argparse when using gettext (GH-17192)</title>
<updated>2019-11-20T13:48:20Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-11-20T13:48:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ecb2afc1bc1c2f3f9f99b09dd866100c3c7dcab7'/>
<id>urn:sha1:ecb2afc1bc1c2f3f9f99b09dd866100c3c7dcab7</id>
<content type='text'>
(cherry picked from commit be5c79e0338005d675a64ba6e5b137e850d556d1)

Co-authored-by: Federico Bond &lt;federicobond@gmail.com&gt;</content>
</entry>
<entry>
<title>Revert "bpo-37785: Fix xgettext warning in argparse (GH-15161)" (GH-16082)</title>
<updated>2019-09-13T10:20:14Z</updated>
<author>
<name>Julien Palard</name>
<email>julien@palard.fr</email>
</author>
<published>2019-09-13T10:20:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f14fcbf2995b43c8607a1448402633ac558a745f'/>
<id>urn:sha1:f14fcbf2995b43c8607a1448402633ac558a745f</id>
<content type='text'>
This reverts commit b50eff65906f8e9b4597cb0128ea1729341346fc because
it's an incompatible change that would have broken the existing
translations.</content>
</entry>
<entry>
<title>bpo-37785: Fix xgettext warning in argparse (GH-15161)</title>
<updated>2019-09-13T09:44:04Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-13T09:44:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b50eff65906f8e9b4597cb0128ea1729341346fc'/>
<id>urn:sha1:b50eff65906f8e9b4597cb0128ea1729341346fc</id>
<content type='text'>
(cherry picked from commit 42671aea2db6cbc54369617da0fd3545048e0a45)

Co-authored-by: Jakub Kulík &lt;Kulikjak@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-29553: Fix ArgumentParser.format_usage() for mutually exclusive groups (GH-14976)</title>
<updated>2019-08-25T21:30:49Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-25T21:30:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=31ea447ffe591736af1d7a3178c0f7ca3eb50d70'/>
<id>urn:sha1:31ea447ffe591736af1d7a3178c0f7ca3eb50d70</id>
<content type='text'>
Co-authored-by: Andrew Nester &lt;andrew.nester.dev@gmail.com&gt;
Co-authored-by: Flavian Hautbois &lt;flavianh@sicara.com&gt;

(cherry picked from commit da27d9b9dc44913ffee8f28d9638985eaaa03755)</content>
</entry>
<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>
</feed>
