Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #13176/b4009b31 backport][8.3.x] Add readline workaround for libedit #13187

Open
wants to merge 1 commit into
base: 8.3.x
Choose a base branch
from

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Feb 3, 2025

This is a backport of PR #13176 as merged into main (b4009b3).

We had a very similar workaround before for pyreadline, which had a similar issue:

This technically will regress the issues above, but those issues just mean that import readline is broken in general, so the user should fix it instead (by e.g. uninstalling pyreadline).

Fixes #12888
Fixes #13170

* Add readline workaround for libedit

We had a very similar workaround before for pyreadline, which had a similar
issue:

- Introduced in #1281
- Removed in #8848 for #8733 and #8847

This technically will regress the issues above, but those issues just mean that
`import readline` is broken in general, so the user should fix it instead (by
e.g. uninstalling pyreadline).

Fixes #12888
Fixes #13170

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Handle no readline on Windows

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit b4009b3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant