• Kevin Modzelewski's avatar
    Change our type creation to add the extra PyHeapTypeObject fields · 198d0f6b
    Kevin Modzelewski authored
    This is so that we can add the CAPI slots for things like tp_as_sequence,
    so that C extensions will work properly.
    
    I don't think there are very many extensions that would do this but let's
    still support it for now; it further bloats the type objects but only as
    much as it does in CPython as well.
    198d0f6b
set.cpp 8.23 KB