Logged In: YES
user_id=20535
I've now tested it with 2.2.3 (using the 2.2 maintenance branch,
which
had the revision numbers you cited) and it works nicely.
That is, my
old readline (readline 2.2, I think, although I couldn't
find the version
number this time around -- at least it doesn't
have the completer
character functionality) works. There is one thing I find a bit odd, though...
With the 2.3 version of this check, the following ends up in
pyconfig.h:
/* Define if you have readline 2.2 */
/* #undef
HAVE_RL_COMPLETION_APPEND_CHARACTER
*/
However, it isn't there when I use the 2.2 branch version. I guess
it shouldn't matter either way (it's uncommented anyway), but it seems
that the two versions behave differently, though... But since it all works,
it's a bit hard to find out what's "wrong", if anything...
Anyway, the
(tentative) verdict from me is that it works.
And just a final note:
This check is really sort of a "band aid" solution, since the behaviour of the
completer will differ, based on which readline version you have. Making
the default the same for readline 2.2 and readline 4.* and making it
configurable from Python for the newer versions might be better...
Although possibly not important enough to warrant the work.
|