• Stefan Behnel's avatar
    Make sure we always use the correct post-analysed bases, mkw and metaclass in... · 888bc4a4
    Stefan Behnel authored
    Make sure we always use the correct post-analysed bases, mkw and metaclass in Python class creation by making the PyClassDefNode own it and other nodes only refer to it, rather than risking stale references in subnodes.
    (Alternatively, ownership could be distributed across the subnodes, but it's a bit unclear how, and how to refer to the other subnodes then.)
    Closes #3338.
    888bc4a4
pyclass_dynamic_bases.pyx 724 Bytes