dynjit can only specialize user defined functions and builtin functions, so that when constructing class objects, __init__ is invoked in the fixed pure python way and won't use the specialized code.
In order to solve this, after some investigation, it is now deemed safe to use
o = _PyObject_New(typeobj)
specialized_init(o, args...)
···
dynjit can only specialize user defined functions and builtin functions, so that when constructing class objects,
__init__
is invoked in the fixed pure python way and won't use the specialized code.In order to solve this, after some investigation, it is now deemed safe to use