SIGN IN SIGN UP

[mypyc] Make function wrappers thread-safe on free-threaded builds (#21620)

The implementation had multiple race conditions.

I used coding agent assist.
J
Jukka Lehtosalo committed
0cd154158ab2829a2f8c7a2728c7d4ed55e8f193
Parent: 22a9cfd
Committed by GitHub <noreply@github.com> on 6/16/2026, 3:42:51 PM