Gregory P. Smith <g...@krypto.org> added the comment:

examining the behaviors being tested, it seems there are differences in 0 and 1 
based indexing behaviors between libreadline and libedit.

libedit frankly seems more consistent.  but the Python readline module docs 
document the 0 and 1 based quirks as part of the module API.  We may need to 
adjust for these based on direct libedit use vs libreadline within the module 
code.

it appears code doing such adjustments already exists on macOS (i haven't yet 
looked in the module code or if Darwin as a platform does it in their readline 
shim around libedit).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43172>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to