[New-bugs-announce] [issue18459] readline: libedit support on non-apple platforms

Ronald Oussoren report at bugs.python.org
Mon Jul 15 14:37:00 CEST 2013


New submission from Ronald Oussoren:

Modules/readline.c contains some code that improves interop with the readline emulation in libedit. That interop code is currently guarded by '#ifdef __APPLE__' preprocessor tests.

This should be replaced by '#if HAVE_LIBEDIT' to make it possible to use the same interop code on other platforms with libedit (such as BSD systems). 

A patch should have two parts:

1) Detect in either configure or setup.py if libedit's readline emulation
   will/should be used.

2) Change the __APPLE__ guards by HAVE_LIBEDIT guards.

----------
messages: 193092
nosy: ronaldoussoren
priority: normal
severity: normal
stage: needs patch
status: open
title: readline: libedit support on non-apple platforms
type: behavior
versions: Python 3.4

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


More information about the New-bugs-announce mailing list