<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/readline.c, branch v2.2.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/readline.c?h=v2.2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/readline.c?h=v2.2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-03-29T22:25:18Z</updated>
<entry>
<title>Backport Patch 659834 checked in by GvR on 2002/12/30 16:25:38</title>
<updated>2003-03-29T22:25:18Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-03-29T22:25:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=80288f4f85b97de15ee78628869aef28639526bb'/>
<id>urn:sha1:80288f4f85b97de15ee78628869aef28639526bb</id>
<content type='text'>
Check for readline 2.2 features.  This should make it possible to
compile readline.c again with GNU readline versions 2.0 or 2.1; this
ability was removed in readline.c rev. 2.49.  Apparently the older
versions are still in widespread deployment on older Solaris
installations.  With an older readline, completion behavior is subtly
different (a space is always added).
</content>
</entry>
<entry>
<title>get_completer() takes no args</title>
<updated>2003-03-01T15:19:49Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-03-01T15:19:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5eb8227235496ebc99b4616df2ff0185324caeb1'/>
<id>urn:sha1:5eb8227235496ebc99b4616df2ff0185324caeb1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Backported SF patch #676342: after using pdb, the readline command</title>
<updated>2003-03-01T02:14:53Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-03-01T02:14:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0cf01371f59fe70bc5a93eb3552a2ae3e7b0287'/>
<id>urn:sha1:e0cf01371f59fe70bc5a93eb3552a2ae3e7b0287</id>
<content type='text'>
  completion was botched.
</content>
</entry>
<entry>
<title>Backport 2.58 from trunk (minus the cleanup):</title>
<updated>2003-01-07T20:40:15Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-01-07T20:40:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e310b12978ae01088c166777c7bcd86cdf36917e'/>
<id>urn:sha1:e310b12978ae01088c166777c7bcd86cdf36917e</id>
<content type='text'>
Fix from Michael Stone for SF bug #660476 and #513033 (bogus thread
state swaps in readline).
</content>
</entry>
<entry>
<title>Backport 2.49:</title>
<updated>2002-10-06T05:43:47Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-10-06T05:43:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c354ac51357700e26c1731eb88f8246e184e7f8'/>
<id>urn:sha1:8c354ac51357700e26c1731eb88f8246e184e7f8</id>
<content type='text'>
SF #558432: Prevent Annoying ' ' from readline (Holker Krekel).

    readline in all python versions is configured
    to append a 'space' character for a successful
    completion. But for almost all python expressions
    'space' is not wanted (see coding conventions PEP 8).
    For example if you have a function 'longfunction'
    and you type 'longf&lt;TAB&gt;' you get 'longfunction '
    as a completion. note the unwanted space at the
    end.

    The patch fixes this behaviour by setting readline's
    append_character to '\0' which means don't append
    anything. This doesn't work with readline &lt; 2.1
    (AFAIK nowadays readline2.2 is in good use).

    An alternative approach would be to make the
    append_character
    accessable from python so that modules like
    the rlcompleter.py can set it to '\0'.

[Ed.: I think expecting readline &gt;= 2.2 is fine.  If a completer wants
another character they can append that to the keyword in the list.]
</content>
</entry>
<entry>
<title>Backport 2.48 from trunk:</title>
<updated>2002-09-24T01:17:41Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-09-24T01:17:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a69f822374e68021a9d17243191465eb32b63182'/>
<id>urn:sha1:a69f822374e68021a9d17243191465eb32b63182</id>
<content type='text'>
#544265, Remove warnings for passing const to free()
</content>
</entry>
<entry>
<title>Include &lt;unistd.h&gt; in Python.h. Fixes #500924.</title>
<updated>2002-01-12T11:13:24Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-01-12T11:13:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d21e644096c700d9cf87038e736dd5ae0f738af'/>
<id>urn:sha1:0d21e644096c700d9cf87038e736dd5ae0f738af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sprintf -&gt; PyOS_snprintf in some "obviously safe" cases.</title>
<updated>2001-11-28T20:27:42Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-28T20:27:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=885d457709c1d680c899dc3d035a47c8fb514cfa'/>
<id>urn:sha1:885d457709c1d680c899dc3d035a47c8fb514cfa</id>
<content type='text'>
Also changed &lt;&gt;-style #includes to ""-style in some places where the
former didn't make sense.
</content>
</entry>
<entry>
<title>Fixes for possible buffer overflows in sprintf() usages.</title>
<updated>2001-11-28T11:47:00Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-11-28T11:47:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d4c0a9c59b399bfa0d36030663f78aa18a68e051'/>
<id>urn:sha1:d4c0a9c59b399bfa0d36030663f78aa18a68e051</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #443759: Add Interface to readline's add_history</title>
<updated>2001-10-19T01:18:43Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-19T01:18:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b6c1d5239cfeadd761d2055cc44212f7a6b7e5af'/>
<id>urn:sha1:b6c1d5239cfeadd761d2055cc44212f7a6b7e5af</id>
<content type='text'>
This was submitted by Moshe, but apparently he's too busy to check it
in himself.  He wrote:

    Here is a function in GNU readline called add_history,
    which is used to manage the history list. Though Python
    uses this function internally, it does not expose it to
    the Python programmer. This patch adds direct interface
    to this function with documentation.

    This could be used by friendly modules to "seed" the
    history with commands.
</content>
</entry>
</feed>
