[Patches] [ python-Patches-659834 ] Check for readline 2.2 features

noreply@sourceforge.net noreply@sourceforge.net
Mon, 30 Dec 2002 12:40:03 -0800


Patches item #659834, was opened at 2002-12-29 20:22
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=659834&group_id=5470

Category: Build
Group: Python 2.2.x
Status: Open
Resolution: None
>Priority: 3
Submitted By: Magnus Lie Hetland (mlh)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Check for readline 2.2 features

Initial Comment:
This patch adds a snippet to configure.in,
to check whether 
rl_completion_append_character
(which is used in Python 
2.3) is available.

rl_prep_terminal is assumed to co-exist 
with rl_completion_append_character.

It is assumed that 
HAVE_RL_COMPLETION_APPEND_CHARACTER will be 
used in readline.c to make it compatible with older versions of the 
readline library.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-12-30 11:27

Message:
Logged In: YES 
user_id=6380

Checked in. Thanks!

Hm, this should be backported to 2.2.3 too! So I'll keep it
open.

----------------------------------------------------------------------

Comment By: Magnus Lie Hetland (mlh)
Date: 2002-12-29 21:11

Message:
Logged In: YES 
user_id=20535

New patch for configure.in (added a comment) and a patch
for 
readline.c that uses 
HAVE_RL_COMPLETION_APPEND_CHARACTER.

Tested 
on Gentoo Linux with new readline (the new completion
behaviour 
was preserved) and on Solaris with old readline (now compiles, with old 
completion behaviour in place).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=659834&group_id=5470