Skip to content

Conversation

@miss-islington
Copy link
Contributor

Wait until the thread spawn by the import completes to avoid dangling
threads. With this fix, the following command no longer fails:

./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20
(cherry picked from commit 4269509)

Co-authored-by: Victor Stinner [email protected]

Wait until the thread spawn by the import completes to avoid dangling
threads. With this fix, the following command no longer fails:

./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20
(cherry picked from commit 4269509)

Co-authored-by: Victor Stinner <[email protected]>
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@brettcannon
Copy link
Member

@vstinner did you mean to leave this open after approving, or did you forget the auto-merge label?

@vstinner vstinner merged commit 51eb009 into python:3.12 May 25, 2023
@miss-islington miss-islington deleted the backport-4269509-3.12 branch May 25, 2023 00:36
@vstinner
Copy link
Member

@vstinner did you mean to leave this open after approving, or did you forget the auto-merge label?

I'm not used to the new workflow. I merged this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants