Plea for segfault assistance in PythonCall.jl

Ok I just looked in the history and tp_versions_used was indeed added in 3.13 and the other missing field tp_watched was added in 3.12.

That explains why we had seen it occasionally before on 3.12 but only a lot more recently on 3.13, since it’ll be reaching further beyond the end of the struct and so more likely to cause memory corruption.

5 Likes