[issue22773] Export Readline version and expect ANSI sequence for version < 0x6000

Ned Deily report at bugs.python.org
Fri Oct 31 22:35:31 CET 2014


Ned Deily added the comment:

The test works OK with libedit now, thanks.  But are you sure about the readline version test?  Testing with a GNU readline 6.3:

>>> print('%x' % readline._READLINE_RUNTIME_VERSION)
603

so the test_readline check:

   readline._READLINE_VERSION < 0x6000

causes the test to be incorrectly skipped.  What does _READLINE_RUNTIME_VERSION look like for an older version of readline?

----------

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


More information about the Python-bugs-list mailing list