<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/cmd.py, branch v2.1.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/cmd.py?h=v2.1.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/cmd.py?h=v2.1.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-03-22T21:59:20Z</updated>
<entry>
<title>This is SF patch #405952, by Anthony Baxter:</title>
<updated>2001-03-22T21:59:20Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-03-22T21:59:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bfb9184ba80fc14a6d773e72fc591250f668ed3a'/>
<id>urn:sha1:bfb9184ba80fc14a6d773e72fc591250f668ed3a</id>
<content type='text'>
cmd.py uses raw_input(); eats SIGCLD:

  I discovered a rather nasty side effect of the standard cmd.py
  library today. If it's sitting inside raw_input(), any SIGCLDs that
  get sent to your application get silently eaten and ignored. I'm
  assuming that this is something that readline is thoughtfully doing
  for me.

  This patch adds an instance attr that allows the user to select to
  not use raw_input(), but instead use sys.stdin.readline()

[Changed slightly to catch EOFError only for raw_input().]
</content>
</entry>
<entry>
<title>String method conversion.</title>
<updated>2001-02-09T04:52:11Z</updated>
<author>
<name>Eric S. Raymond</name>
<email>esr@thyrsus.com</email>
</author>
<published>2001-02-09T04:52:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=20e4423adef209d2260fd952533dc2360e2d257e'/>
<id>urn:sha1:20e4423adef209d2260fd952533dc2360e2d257e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unnecessary semicolon</title>
<updated>2001-01-26T17:15:18Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-01-26T17:15:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d30e587e00d0c01c87bfbbdb5c694131ffd0ea70'/>
<id>urn:sha1:d30e587e00d0c01c87bfbbdb5c694131ffd0ea70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>added __all__ lists to a number of Python modules</title>
<updated>2001-01-20T19:54:20Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2001-01-20T19:54:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e99d5ea25ba994491c773d9b5872332334ccd1c5'/>
<id>urn:sha1:e99d5ea25ba994491c773d9b5872332334ccd1c5</id>
<content type='text'>
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
</content>
</entry>
<entry>
<title>Update the code to better reflect recommended style:</title>
<updated>2000-12-12T23:20:45Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-12-12T23:20:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8152d32375c40bba9ccbe43b780ebe96d9617781'/>
<id>urn:sha1:8152d32375c40bba9ccbe43b780ebe96d9617781</id>
<content type='text'>
Use != instead of &lt;&gt; since &lt;&gt; is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
</content>
</entry>
<entry>
<title>Bug fix: ? and ! were not full aliases for `help' and `shell' as implied in</title>
<updated>2000-07-11T13:03:55Z</updated>
<author>
<name>Eric S. Raymond</name>
<email>esr@thyrsus.com</email>
</author>
<published>2000-07-11T13:03:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5f1b27084aacc2975b3f94e7b225215066f4e1e2'/>
<id>urn:sha1:5f1b27084aacc2975b3f94e7b225215066f4e1e2</id>
<content type='text'>
the documentation; the cases `? foo' and `! foo' failed.
</content>
</entry>
<entry>
<title>Mass patch by Ka-Ping Yee:</title>
<updated>2000-02-02T15:10:15Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-02-02T15:10:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4acc25bd392216c4f867a10ca8081e7c8a739676'/>
<id>urn:sha1:4acc25bd392216c4f867a10ca8081e7c8a739676</id>
<content type='text'>
    1. Comments at the beginning of the module, before
       functions, and before classes have been turned
       into docstrings.

    2. Tabs are normalized to four spaces.

Also, removed the "remove" function from dircmp.py, which reimplements
list.remove() (it must have been very old).
</content>
</entry>
<entry>
<title>No need to import sys or linecache.  (Andrew Dalke &amp; kjpylint)</title>
<updated>1999-05-03T18:08:16Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-05-03T18:08:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=db6d12c49835de33fb765df8e0be82ec144d64a1'/>
<id>urn:sha1:db6d12c49835de33fb765df8e0be82ec144d64a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch by Michael Scharf.  He writes:</title>
<updated>1999-03-12T22:15:43Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-03-12T22:15:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d5138caba5fac644571cd7fa013d1ab0d4f867b6'/>
<id>urn:sha1:d5138caba5fac644571cd7fa013d1ab0d4f867b6</id>
<content type='text'>
    The module cmd requires for each do_xxx command a help_xxx
    function. I think this is a little old fashioned.

    Here is a patch: use the docstring as help if no help_xxx
    function can be found.

[I'm tempted to rip out all the help_* functions from pdb, but I'll
resist it.  Any takers?  --Guido]
</content>
</entry>
<entry>
<title>Richard Wolff's changes:</title>
<updated>1998-09-11T22:33:08Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-09-11T22:33:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5fca6fd2d9d53a5c417fc8a811752009b0f025e4'/>
<id>urn:sha1:5fca6fd2d9d53a5c417fc8a811752009b0f025e4</id>
<content type='text'>
cmd.py  has incorporated the changes we discussed a couple of weeks ago
	(a command queue, returning line from precmd, and stop from postcmd)
	and some changes to help that were occasioned because I wanted to
	inherit from pdb which inherits from cmd.py and the help routine
	didn't look for commands or the associated help deeply enough.
</content>
</entry>
</feed>
