summaryrefslogtreecommitdiffstats
path: root/Doc/library/readline.rst
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 14:53:22 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-09-20 14:53:22 (GMT)
commit2efd9247549064887b0206d4a57d2abda03384e8 (patch)
treeabc5516ea2c01ad39b789f03f1187a2df483bada /Doc/library/readline.rst
parentf172f31e4f1ad74e31215138e56327af118603ef (diff)
downloadcpython-2efd9247549064887b0206d4a57d2abda03384e8.zip
cpython-2efd9247549064887b0206d4a57d2abda03384e8.tar.gz
cpython-2efd9247549064887b0206d4a57d2abda03384e8.tar.bz2
Merged revisions 74970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74970 | ronald.oussoren | 2009-09-20 16:18:15 +0200 (Sun, 20 Sep 2009) | 7 lines Issue 6877: this patch makes it possible to link the readline extension to the libedit emulation of the readline API on OSX 10.5 or later. This also adds a minimal testsuite for readline to check that the history manipuation functions have the same interface with both C libraries. ........
Diffstat (limited to 'Doc/library/readline.rst')
-rw-r--r--Doc/library/readline.rst12
1 files changed, 11 insertions, 1 deletions
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst
index b59f680..ab4a099 100644
--- a/Doc/library/readline.rst
+++ b/Doc/library/readline.rst
@@ -14,6 +14,17 @@ made using this module affect the behaviour of both the interpreter's
interactive prompt and the prompts offered by the built-in :func:`input`
function.
+..note::
+
+ On MacOS X the :mod:`readline` module can be implemented using
+ the ``libedit`` library instead of GNU readline.
+
+ The configuration file for ``libedit`` is different from that
+ of GNU readline. If you programmaticly load configuration strings
+ you can check for the text "libedit" in :const:`readline.__doc__`
+ to differentiate between GNU readline and libedit.
+
+
The :mod:`readline` module defines the following functions:
@@ -166,7 +177,6 @@ The :mod:`readline` module defines the following functions:
Append a line to the history buffer, as if it was the last line typed.
-
.. seealso::
Module :mod:`rlcompleter`