[New-bugs-announce] [issue18458] libedit history offset workaround

Ronald Oussoren report at bugs.python.org
Mon Jul 15 14:24:20 CEST 2013


New submission from Ronald Oussoren:

Modules/readline.c contains a workaround for a bug in the readline emulation of libedit: that emulation uses a different starting offset for the history than the real readline.

In more recent versions of libedit (such as the one you can now download from <http://www.thrysoee.dk/editline/>) the bug has been fixed and the workaround causes problems.

The attached patch dynamicly detects if the workaround is necessary.

NOTE: Actually using the trysoee.dk libedit requires a patch to setup.py, that version of libedit does not install libreadline.dylib, only libedit.dylib.

----------
assignee: ronaldoussoren
files: dynamic_editline_workaround_detection.txt
messages: 193090
nosy: ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: libedit history offset workaround
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30926/dynamic_editline_workaround_detection.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18458>
_______________________________________


More information about the New-bugs-announce mailing list