<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/readline.c, branch v2.2.1</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/readline.c?h=v2.2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/readline.c?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-01-12T11:13:24Z</updated>
<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>
<entry>
<title>Patch #462122: add readline startup and pre_event hooks.</title>
<updated>2001-09-30T21:09:59Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-09-30T21:09:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0daad598d0947395248f087c2aa347083f440e36'/>
<id>urn:sha1:0daad598d0947395248f087c2aa347083f440e36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleaned up the docstring for readline.set_completer().</title>
<updated>2001-08-01T21:44:14Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-08-01T21:44:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=52d55a392600011d3edfe85c694744ec550ad1fe'/>
<id>urn:sha1:52d55a392600011d3edfe85c694744ec550ad1fe</id>
<content type='text'>
Thanks to Nathaniel Gray for reporting the confusion.
</content>
</entry>
<entry>
<title>SF Patch #432457 by Jason Tishler: support for readline 4.2.</title>
<updated>2001-07-10T16:45:32Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-07-10T16:45:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=353ae5896499d0ec297cff00e3686f4cd88668c3'/>
<id>urn:sha1:353ae5896499d0ec297cff00e3686f4cd88668c3</id>
<content type='text'>
This patch allows the readline module to build cleanly with GNU
readline 4.2 without breaking the build for earlier GNU readline
versions.  The configure script checks for the presence of
rl_completion_matches in libreadline.
</content>
</entry>
<entry>
<title>Clean up the unsightly mess around the readline header files.  We now</title>
<updated>2001-04-13T18:14:27Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-13T18:14:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b0e51b2957f7e4ba4bd2399329bae810b57881aa'/>
<id>urn:sha1:b0e51b2957f7e4ba4bd2399329bae810b57881aa</id>
<content type='text'>
always:

- #undef HAVE_CONFIG_H (because otherwise chardefs.h tries to include
  strings.h)

- #include readline.h and history.h

and we never declare any readline function prototypes ourselves.

This makes it compile with readline 4.2, albeit with a few warnings.
Some of the remaining warnings are about completion_matches(), which
is renamed to rl_completion_matches().

I've tested it with various other versions, from 2.0 up, and they all
seem to work (some with warnings) -- but only on Red Hat Linux 6.2.

Fixing the warnings for readline 4.2 would break compatibility with
3.0 (and maybe even earlier versions), and readline doesn't seem to
have a way to test for its version at compile time, so I'd rather
leave the warnings in than break compilation with older versions.
</content>
</entry>
<entry>
<title>Part of SF patch #102409 by jlt63 to support building these modules</title>
<updated>2001-01-10T21:03:32Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-01-10T21:03:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5a53019b0d4780b270c0c8027e0e66b7183fb661'/>
<id>urn:sha1:5a53019b0d4780b270c0c8027e0e66b7183fb661</id>
<content type='text'>
under CYGWIN as shared libraries (DLLs).
</content>
</entry>
<entry>
<title>Supporting rl_library_version is more trouble than it's worth --</title>
<updated>2000-10-02T15:53:08Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-10-02T15:53:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ea64ea3abf78a65f8145ab2613be7dfd178f4ce'/>
<id>urn:sha1:1ea64ea3abf78a65f8145ab2613be7dfd178f4ce</id>
<content type='text'>
readline doesn't have it before readline 2.2 and there's no
compile-time way to find out which readline version is in use.

Sigh.  GNU readline sucks.
</content>
</entry>
</feed>
