<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/argparse.py, branch 3.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=3.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/argparse.py?h=3.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2012-09-12T18:42:34Z</updated>
<entry>
<title>Update merge from 2.7: s/basetring/str</title>
<updated>2012-09-12T18:42:34Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2012-09-12T18:42:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2dceb359cb0353d4f327fc36be27e67a3e94566e'/>
<id>urn:sha1:2dceb359cb0353d4f327fc36be27e67a3e94566e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>A follow up for issue #15906: change the test for calling the type conversion</title>
<updated>2012-09-12T18:34:50Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2012-09-12T18:34:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eaae1b76aecd2c2fc1cf1aa1578db69e7d1464e6'/>
<id>urn:sha1:eaae1b76aecd2c2fc1cf1aa1578db69e7d1464e6</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>- Issue #15906: Fix a regression in argparse caused by the preceding change,</title>
<updated>2012-09-12T02:38:47Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2012-09-12T02:38:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b2f9e914d497d6b2b5ec09a03da8b6f171dffed'/>
<id>urn:sha1:4b2f9e914d497d6b2b5ec09a03da8b6f171dffed</id>
<content type='text'>
  when action='append', type='str' and default=[].
</content>
</entry>
<entry>
<title>#15847: allow args to be a tuple in parse_args</title>
<updated>2012-09-08T16:08:01Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-09-08T16:08:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b522828d2a6bdc4438441eda837a696851ba4263'/>
<id>urn:sha1:b522828d2a6bdc4438441eda837a696851ba4263</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>#12776,#11839: call argparse type function only once.</title>
<updated>2012-09-01T02:45:20Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-09-01T02:45:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6fb8fb17bff87fdd5e738430502f34f8729766e3'/>
<id>urn:sha1:6fb8fb17bff87fdd5e738430502f34f8729766e3</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>#13922: argparse no longer incorrectly strips '--' after the first one.</title>
<updated>2012-07-22T02:48:35Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-07-22T02:48:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=00528e8fec37bdf203bdb172ec3363353268d908'/>
<id>urn:sha1:00528e8fec37bdf203bdb172ec3363353268d908</id>
<content type='text'>
Patch by Jeff Knupp.
</content>
</entry>
<entry>
<title>#12353: argparse now correctly handles null argument values.</title>
<updated>2012-07-22T02:20:11Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-07-22T02:20:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b94082a71b6b141cdcdde52a0f01b10f9334b5a8'/>
<id>urn:sha1:b94082a71b6b141cdcdde52a0f01b10f9334b5a8</id>
<content type='text'>
Patch by Torsten Landschoff.
</content>
</entry>
<entry>
<title>#14391: clarify docstring discussion of Action's 'type' argument's value.</title>
<updated>2012-07-21T21:04:25Z</updated>
<author>
<name>R David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2012-07-21T21:04:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=15cd9a0be4cfa7875267a06046a8c20ab8bb3482'/>
<id>urn:sha1:15cd9a0be4cfa7875267a06046a8c20ab8bb3482</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Closes #13258: Use callable() built-in in the standard library.</title>
<updated>2011-10-28T12:45:05Z</updated>
<author>
<name>Florent Xicluna</name>
<email>florent.xicluna@gmail.com</email>
</author>
<published>2011-10-28T12:45:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5d1155c08edf7f53eca804b2b6538636c2dfe711'/>
<id>urn:sha1:5d1155c08edf7f53eca804b2b6538636c2dfe711</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #9347: Fix formatting for tuples in argparse type= error messages.</title>
<updated>2011-04-03T23:53:02Z</updated>
<author>
<name>Steven Bethard</name>
<email>steven.bethard@gmail.com</email>
</author>
<published>2011-04-03T23:53:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7cb20a8605d79faae64cccf8bbe8418b492f0e30'/>
<id>urn:sha1:7cb20a8605d79faae64cccf8bbe8418b492f0e30</id>
<content type='text'>
</content>
</entry>
</feed>
