Uh oh!
There was an error while loading. Please reload this page.
gh-140729: Fix the cProfile module when the executed script contains calls to multiprocessing.Process - #144715
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…uTPQp.rst Co-authored-by: AN Long <aisk@users.noreply.github.com>
This PR is stale because it has been open for 30 days with no activity. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
+ Move unittest + Update news file + run make regen-configure
Uh oh!
There was an error while loading. Please reload this page.
YvesDup
commented
Jun 18, 2026
@aisk Could you help me about the failing test please ? |
pablogsal
commented
Jul 1, 2026
I pushed a small fix for this. Can you take a look? |
I agree with the comment in The fix also works with the EDIT: I pushed a new commit including all the |
Uh oh!
There was an error while loading. Please reload this page.
Thanks @YvesDup for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
Sorry, @YvesDup and @pablogsal, I could not cleanly backport this to |
GH-153243 is a backport of this pull request to the 3.15 branch. |
Sorry, @YvesDup and @pablogsal, I could not cleanly backport this to |
YvesDup
commented
Jul 7, 2026
Because the |
GH-153265 is a backport of this pull request to the 3.14 branch. |
aisk
commented
Jul 7, 2026
The But while trying to backport this to 3.13, I found that because #132738 was not backported to 3.13 and it changed the surrounding code, we can't simply backport the current PR. Since 3.13 will reach end of life in around two months, I think we can just leave it as it is. |
When profilng the ttt.py script via
cProfilemodule ,an error occurs:
This fix does not apply to the
profilemodule, which is deprecated and will be removed in python 3.17.