-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess #139185
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
gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess #139185
Conversation
|
@hugovk should we wait until 3.14.0 release to backport this? |
|
Hey @iritkatriel do you mind reviewing this again? I realized rlcompleter messes with the completer when it’s first imported, which was not ideal but we probably need to keep it for compatibility. So I made a workaround to import it early. |
|
Thanks @gaogaotiantian for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…subprocess (pythonGH-139185) (cherry picked from commit c8624cd) Co-authored-by: Tian Gao <[email protected]>
|
Sorry, @gaogaotiantian, I could not cleanly backport this to |
|
GH-139280 is a backport of this pull request to the 3.14 branch. |
|
GH-139281 is a backport of this pull request to the 3.13 branch. |
|
|
|
|
|
|
… subprocess (GH-139185) (GH-139305) (GH-139280) * gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess (GH-139185) (cherry picked from commit c8624cd) * gh-139289: Lazy import rlcompleter to fix the refleak (GH-139305) (cherry picked from commit 8288f36) Co-authored-by: Tian Gao <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.