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
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