• Marius Wachtler's avatar
    deinitFrame: don't modify CAPI exception state · f5a40a2f
    Marius Wachtler authored
    If a CAPI exception was set and we called deinitFrame in some rare cases calling the finalizers cleared the CAPI exception.
    This would cause us to return NULL even though no exception is set #1273 (for LLVM functions compiled in capi mode)
    Unfortunately I could not come up with a testcase which triggers it but I verified that it fixes the problem scipy triggered.
    f5a40a2f
types.h 47.8 KB