https://cffi.readthedocs.io/en/latest/
Had not heard of this package until a few days ago. Now I need to debug some broken code that uses it. I have to say, it's an interesting hack. And it appears to be the answer to the question "How the heck is a Python program managing to corrupt the C heap and trigger segfaults?"