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
[python] Ensure locals() is modified with numba wrapper
Python 3.13 changes the semantics of the builtin `locals()` function, see
https://docs.python.org/3/library/functions.html#locals.
For our case, it means that the call to `locals()` that happens at
function-scope in the Numba decorator will not modify the `locals()` dictionary,
thus the JITted pywrapper function will not appear in the dictionary. Ensure
this happens by binding `locals()` to a local variable, which is actually
modified by `exec()`.
0 commit comments