I thought: “how hard could it be to write a Python package wrapper for my old C code?” The answer as it turns out is: quite tricky to do okay, and very hard to do well. The single biggest headache has ...