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
See title, apparently we used to check func_version, then we removed it in 5f60011
These checks are slower and too weak for the JIT. We should restore the func_version check. This should also improve the specializing interpreter, as a single func version check is faster than checking for a bunch of flags.
Bug report
Bug description:
See title, apparently we used to check func_version, then we removed it in 5f60011
These checks are slower and too weak for the JIT. We should restore the func_version check. This should also improve the specializing interpreter, as a single func version check is faster than checking for a bunch of flags.
This comment in the JIT says the JIT is bugged for that uop as a result https://github.com/python/cpython/blob/main/Python/optimizer_bytecodes.c#L988
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
func_versioncheck in_LOAD_ATTR_PROPERTY_FRAME#148528