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
_Py_uop_sym_set_recorded_type asserts PyType_Check, but it's possible to have an instance change its __class__/type to a non-PyType_Check-ed class after JIT trace but right before JIT optimization time.
I think the fix is to convert that to a check instead of an assert?
Bug report
Bug description:
_Py_uop_sym_set_recorded_type asserts PyType_Check, but it's possible to have an instance change its
__class__/type to a non-PyType_Check-ed class after JIT trace but right before JIT optimization time.I think the fix is to convert that to a check instead of an assert?
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response