You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Generators changed upstream to fix some issues with free-threading: python/cpython@08bc03f
This merges the interpreter loop changes that were present in our copied bytecodes, brings in `gen_try_set_executing` from ceval_macros.h and wraps gen_getyieldfrom which is now where the implementation of _PyGen_yf lives.
There's also some changes in `PyEval_GetAwaitable` which we current "borrow" by copying it. But the only thing we change is `_PyCoro_GetAwaitableIter` -> `JitCoro_GetAwaitableIter`. So this replaces it with a real borrow with ifdef's to rename things, that way we won't need to perform as many updates in the future.
Reviewed By: itamaro
Differential Revision: D90126048
fbshipit-source-id: 1e27d7697d4358b1f0b2e384a14e39f842f9665e
0 commit comments