gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess#139185
gh-138860: Lazy import rlcompleter in pdb to avoid deadlock in subprocess#139185gaogaotiantian merged 5 commits intopython:mainfrom
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 <gaogaotiantian@hotmail.com>
|
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 <gaogaotiantian@hotmail.com>
Uh oh!
There was an error while loading. Please reload this page.