We either have to add some translation, or tweak parts of python:
* the cmd module needs to learn how to configure libedit when
the readline extension was linked to libedit
* the rlcompleter documentation needs to be updated to do the same
And that's just the stdlib. IIRC ipython contains code that uses libedit
style configuration instead of readline when using /usr/bin/python on OSX, and there are probably other.
IMHO the current behavior is confusing: the module is named readline, but sometimes uses libedit behavior. At least I ensured that the usage of libedit can be detected by introspecting readline.__doc__.
A basic translator shouldn't be that hard... |