<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/argparse.py, branch v3.2b2</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg for beta2 on the tracker.</title>
<updated>2010-12-18T11:19:23+00:00</updated>
<author>
<name>Steven Bethard</name>
<email>steven.bethard@gmail.com</email>
</author>
<published>2010-12-18T11:19:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fd311a712d5876c3a3efff265978452eea759f85'/>
<id>fd311a712d5876c3a3efff265978452eea759f85</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use proper plural forms in argparse (#4391)</title>
<updated>2010-12-04T17:31:49+00:00</updated>
<author>
<name>Éric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2010-12-04T17:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1215915045d620d44e14ba12af8949f8ec700b5d'/>
<id>1215915045d620d44e14ba12af8949f8ec700b5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow translators to reorder placeholders in localizable messages from</title>
<updated>2010-12-03T19:41:00+00:00</updated>
<author>
<name>Éric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2010-12-03T19:41:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bb48a8b59a8e8573f6ba2761c09fc1ad271d8068'/>
<id>bb48a8b59a8e8573f6ba2761c09fc1ad271d8068</id>
<content type='text'>
argparse (#10528).

There is no unit test; I checked with xgettext that no more warnings
were emitted.  Steven approved the change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
argparse (#10528).

There is no unit test; I checked with xgettext that no more warnings
were emitted.  Steven approved the change.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix incorrect use of gettext in argparse (#10497).</title>
<updated>2010-12-03T19:19:17+00:00</updated>
<author>
<name>Éric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2010-12-03T19:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a9c7a8fa5bded740bba314cb07ebd3c99eba928e'/>
<id>a9c7a8fa5bded740bba314cb07ebd3c99eba928e</id>
<content type='text'>
Steven, the maintainer of argparse, agreed to have this committed
without tests for now, since the fix is obvious.  See the bug log.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Steven, the maintainer of argparse, agreed to have this committed
without tests for now, since the fix is obvious.  See the bug log.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug 9340 - argparse parse_known_args didn't work with subparsers</title>
<updated>2010-11-02T12:47:22+00:00</updated>
<author>
<name>Steven Bethard</name>
<email>steven.bethard@gmail.com</email>
</author>
<published>2010-11-02T12:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fca2e8aeb8e841a18c4b9d2954254b2a086a3d56'/>
<id>fca2e8aeb8e841a18c4b9d2954254b2a086a3d56</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for issue 9355 where with multiple mutually exclusive arguments, some brackets were being lost in the usage messages</title>
<updated>2010-11-01T16:29:26+00:00</updated>
<author>
<name>Steven Bethard</name>
<email>steven.bethard@gmail.com</email>
</author>
<published>2010-11-01T16:29:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=49998eec49f16262381219eb43dcb58bbe092842'/>
<id>49998eec49f16262381219eb43dcb58bbe092842</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug 9352 where characters were being lost in parsing some short options</title>
<updated>2010-11-01T15:57:36+00:00</updated>
<author>
<name>Steven Bethard</name>
<email>steven.bethard@gmail.com</email>
</author>
<published>2010-11-01T15:57:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1ca45a5292a382d5902b80de5c8274994a985e84'/>
<id>1ca45a5292a382d5902b80de5c8274994a985e84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Get argparse.__all__ back up to date (issue 9353)</title>
<updated>2010-11-01T15:23:12+00:00</updated>
<author>
<name>Steven Bethard</name>
<email>steven.bethard@gmail.com</email>
</author>
<published>2010-11-01T15:23:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=72c553829a271923fc110c23af49b8a4a0a5367e'/>
<id>72c553829a271923fc110c23af49b8a4a0a5367e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#9444: use first of prefix_chars for help opt instead of raising error</title>
<updated>2010-08-03T17:56:09+00:00</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2010-08-03T17:56:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=88c49fe32054e28627eb41134656da606e9f9595'/>
<id>88c49fe32054e28627eb41134656da606e9f9595</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged revisions 81492 via svnmerge from</title>
<updated>2010-05-24T03:47:38+00:00</updated>
<author>
<name>Steven Bethard</name>
<email>steven.bethard@gmail.com</email>
</author>
<published>2010-05-24T03:47:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=50fe593ae97230d1d058844908a04e6b03855f7f'/>
<id>50fe593ae97230d1d058844908a04e6b03855f7f</id>
<content type='text'>
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
........
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
........
</pre>
</div>
</content>
</entry>
</feed>
