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 <rep...@bugs.python.org> <http://bugs.python.org/issue18458> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com