• Rudi Chen's avatar
    Assign allocation function directly to tp_new. · 79eea221
    Rudi Chen authored
    This fixes infinite recursion bugs when C extensions inherit from
    these built-in types where the C extension allocation function calls
    the base tp_new, which does an attribute lookup, which finds the
    C extension allocation function again.
    79eea221
float.cpp 55.4 KB