• Rudi Chen's avatar
    Inherit special protocol tp_* slots. · c0bbdfb4
    Rudi Chen authored
    C extensions (NumPy) might inherit classes in C code and expect to find
    tp_number. This is just copied from CPython's PyType_Ready.
    
    This requires assigning some of the runtime functions to thesq_ and mp_ slots
    otherwise there are infinite loops from Pyston attributes.
    c0bbdfb4
dict.cpp 28.6 KB