subtype_dealloc causes segfaults on c heap type subclasses
17 Aug
2019
17 Aug
'19
9:24 p.m.
Hi everyone, I found a bug in subtype_dealloc causing segfaults when used with C heap types. Given that it modifies the deallocation routine of every instance, I thought it was important to surface this in here as well. Also worth noting, this blocks the adoption of PEP384 in C Extension modules that depend on subclassable types. The bug and the fix are explained in detail in the PR: https://github.com/python/cpython/pull/15323
1970
Age (days ago)
1970
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eddie Elizondo