[Patches] [ python-Patches-432457 ] Readline 4.2 Patch
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 10 Jul 2001 06:54:54 -0700
Patches item #432457, was opened at 2001-06-12 09:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=432457&group_id=5470
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Tishler (jlt63)
Assigned to: Nobody/Anonymous (nobody)
Summary: Readline 4.2 Patch
Initial Comment:
This patch enables the Python readline module to
build cleanly against readline 4.2. Specifically, it
configures Python to use either completion_matches()
or rl_completion_matches() as appropriate. This is
necessary due to the deprecation of completion_matches()
(and the other functions defined in compat.c) in
readline 4.2. In this case, deprecated means no longer
declared in readline.h but still defined in the readline
library (e.g. libreadline.so).
Although this patch is currently only necessary for Cygwin,
it eventually will be needed by the other platforms when
completion_matches() is finally removed from readline
(e.g., 4.3).
I tested this patch under the following environments:
Linux with readline 2.2.1
Linux with readline 4.2
Cygwin with readline 4.1
Cygwin with readline 4.2
and it functioned as expected.
----------------------------------------------------------------------
>Comment By: Jason Tishler (jlt63)
Date: 2001-07-10 06:54
Message:
Logged In: YES
user_id=86216
Any status?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=432457&group_id=5470