Skip to content

Conversation

kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Oct 10, 2025

Fix incorrect sharing of current task with the forked child process by clearing thread state's current task and current loop in PyOS_AfterFork_Child. (cherry picked from commit b881df4)

…orking in `asyncio` (pythonGH-139897)

Fix incorrect sharing of current task with the forked child process by clearing thread state's current task and current loop in `PyOS_AfterFork_Child`.
(cherry picked from commit b881df4)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@kumaraditya303 kumaraditya303 merged commit 72f25a8 into python:3.14 Oct 10, 2025
46 checks passed
@kumaraditya303 kumaraditya303 deleted the backport-b881df4-3.14 branch October 10, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-asyncio type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiprocessing with "fork" fails with Python 3.14 but works with Python 3.13

1 participant