This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author E3V3A
Recipients E3V3A, eryksun, gvanrossum, keeely, rhettinger, steve.dower, terry.reedy
Date 2022-02-02.16:23:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643819015.57.0.694444248171.issue45870@roundup.psfhosted.org>
In-reply-to
Content
I would like to make the python community aware that there has recently been a renewed interest in updating and maintaining 'pyreadline', but in a new(ish) repository 'pyreadline3'. 

https://github.com/pyreadline3/pyreadline3

This apparently now works under Py3.10, but there are some minor issues with how pyreadline handles ANSI escape sequences for coloring auto completion etc. This is probably due to the code developed for the older/original Windows cmd/powershell use of 4-bit ANSI colors, no longer being able to handle 256 or RGB. There was a PR for that, but because that PR is aged it seem limited to older 4-bit ANSI's, since it is using a RegEx for stripping the sequences to calculate the actual line length.

[OT. This also bring up the question where the function "rl_expand_prompt()" (handling RL_PROMPT_START_IGNORE and RL_PROMPT_END_IGNORE) was moved, as it can't be found in the cpython codebase. (https://github.com/python/cpython/blob/main/Modules/readline.c) The equivalent HEX for those _does_ work, at least for the prompt, but maybe they are handled on the windows side?]
History
Date User Action Args
2022-02-02 16:23:35E3V3Asetrecipients: + E3V3A, gvanrossum, rhettinger, terry.reedy, eryksun, steve.dower, keeely
2022-02-02 16:23:35E3V3Asetmessageid: <1643819015.57.0.694444248171.issue45870@roundup.psfhosted.org>
2022-02-02 16:23:35E3V3Alinkissue45870 messages
2022-02-02 16:23:35E3V3Acreate