Oh, maybe the assertion was fixed by the following 3.15 change: commit ef498e0
commit ef498e03366065319d57c1ce65e1d7bdcefbb498 (upstream/3.15, 3.15)
Author: Neil Schemenauer <nas-github@arctrix.com>
Date: Tue Oct 13 12:43:19 2026 -0700
[3.15] Fix _PyThreadState_ResumeDetached() assertion with attach waiters (GH-159372)
Make _PyThreadState_ResumeDetached() waiter-aware and use it from
start_the_world(), matching main branch. Remove tstate_resume().
Activity
vstinner commented on Oct 13, 2026
cc @nascheme
Oh, maybe the assertion was fixed by the following 3.15 change: commit ef498e0
commit ef498e03366065319d57c1ce65e1d7bdcefbb498 (upstream/3.15, 3.15) Author: Neil Schemenauer <nas-github@arctrix.com> Date: Tue Oct 13 12:43:19 2026 -0700 [3.15] Fix _PyThreadState_ResumeDetached() assertion with attach waiters (GH-159372) Make _PyThreadState_ResumeDetached() waiter-aware and use it from start_the_world(), matching main branch. Remove tstate_resume().nascheme commented on Oct 13, 2026
Yup, that commit should fix it. I expect it was caused by a bad squash merge for GH-158186.
vstinner commented on Oct 14, 2026
Ok.
The 3 following builds were successful. I close the issue.