<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/getopt.py, branch 2.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/getopt.py?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/getopt.py?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-12-12T06:20:34Z</updated>
<entry>
<title>Wrapped a long line.</title>
<updated>2001-12-12T06:20:34Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-12-12T06:20:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e7dfd374578bb322fba69a227519fed8ec60f3d'/>
<id>urn:sha1:1e7dfd374578bb322fba69a227519fed8ec60f3d</id>
<content type='text'>
Converted to use "".startswith() to avoid slicing (&amp; temp string creation).
</content>
</entry>
<entry>
<title>more __all__ updates</title>
<updated>2001-01-20T23:34:12Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2001-01-20T23:34:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eccd02a40d0921fc2953213e71da8a3a79d00e17'/>
<id>urn:sha1:eccd02a40d0921fc2953213e71da8a3a79d00e17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>GetoptError is always initialized with exactly two parameters, so simplify</title>
<updated>2001-01-08T15:39:32Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-01-08T15:39:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e1fd5260eae99657afb817562d41e1f4ba245a54'/>
<id>urn:sha1:e1fd5260eae99657afb817562d41e1f4ba245a54</id>
<content type='text'>
the constructor.
</content>
</entry>
<entry>
<title>getopt used to sort the long option names, in an attempt to simplify</title>
<updated>2000-12-29T02:17:56Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2000-12-29T02:17:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d31b6328e180af4b10e2c942a1437d5b8cb2c2e6'/>
<id>urn:sha1:d31b6328e180af4b10e2c942a1437d5b8cb2c2e6</id>
<content type='text'>
the logic.  That resulted in a bug.  My previous getopt checkin repaired
the bug but left the sorting.  The solution is significantly simpler if
we don't bother sorting at all, so this checkin gets rid of the sort and
the code that relied on it.
</content>
</entry>
<entry>
<title>Fix for SF bug</title>
<updated>2000-12-27T08:05:05Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2000-12-27T08:05:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd699b62c59d8fdbdf97a219a2a1125b691e5a98'/>
<id>urn:sha1:dd699b62c59d8fdbdf97a219a2a1125b691e5a98</id>
<content type='text'>
https://sourceforge.net/bugs/?func=detailbug&amp;bug_id=126863&amp;group_id=5470
"getopt long option handling broken".  Tossed the excruciating logic in
long_has_args in favor of something obviously correct.
</content>
</entry>
<entry>
<title>Gerrit forgot to remove the "import string".</title>
<updated>2000-02-25T16:34:11Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-02-25T16:34:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e6674e6fc6c3472ae9e53fb74163fa9a24401d53'/>
<id>urn:sha1:e6674e6fc6c3472ae9e53fb74163fa9a24401d53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Gerrit Holl's patch to move attribution from the docstring to a</title>
<updated>2000-02-25T16:14:08Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-02-25T16:14:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a395ced424e1cba3fc818fd729f273c3709ac62c'/>
<id>urn:sha1:a395ced424e1cba3fc818fd729f273c3709ac62c</id>
<content type='text'>
comment.  &lt;gerrit@nl.linux.org&gt;
</content>
</entry>
<entry>
<title>Actually, the previous batch's comment should have been different;</title>
<updated>2000-02-04T15:39:30Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-02-04T15:39:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b8c6eaf8b287a27e0054cf6c751448b2077e83b'/>
<id>urn:sha1:4b8c6eaf8b287a27e0054cf6c751448b2077e83b</id>
<content type='text'>
*this* set of patches is Ka-Ping's final sweep:

The attached patches update the standard library so that all modules
have docstrings beginning with one-line summaries.

A new docstring was added to formatter.  The docstring for os.py
was updated to mention nt, os2, ce in addition to posix, dos, mac.
</content>
</entry>
<entry>
<title>Contribution from Gerrit Holl:</title>
<updated>1999-12-21T22:38:40Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-12-21T22:38:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=80c33e562ddcc0af4eed6708aa30603972e62cfc'/>
<id>urn:sha1:80c33e562ddcc0af4eed6708aa30603972e62cfc</id>
<content type='text'>
This patch changes the string-based exceptions to class-based
exceptions, so that you can fetch the unknown option as an
attribute.  As far as I know, it is backward compatible.

[The new exception class is called GetoptError; the name error is an
alias for compatibility.]
</content>
</entry>
<entry>
<title>Accept a non-list sequence for the long options (request by Jack Jansen).</title>
<updated>1998-11-17T04:16:37Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-11-17T04:16:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d06094c77f08b95f649c7da46a85fffc419f497'/>
<id>urn:sha1:6d06094c77f08b95f649c7da46a85fffc419f497</id>
<content type='text'>
Because it might be a common mistake to pass a single string, this
situation is treated separately.

Since we were making a copy of the longopts list anyway, we now use
the list() function -- this made it necessary to change all uses of
the local variable (and argument) 'list' to something more meaningful,
i.e., 'opts'.

Also added docstrings (copied from the library manual) and removed the
(now redundant) module comments.
</content>
</entry>
</feed>
