[Pyrex] Pyrex 0.9: Compiled code produces segmentation fault

Paul Prescod paul at prescod.net
Mon Feb 2 02:08:43 CET 2004


The relevant line of Pyrex is in Compiler/Typeslots.py

    EmptySlot("tp_free"),  # GCDependentSlot("tp_free", "_PyObject_Del", 
"_PyObject_GC_Del", dynamic = 1),

I can make your example work by changing it to this:

    GCDependentSlot("tp_free", "_PyObject_Del", "_PyObject_GC_Del", 
dynamic = 1),

(i.e. delete the hash and everything before it)

But I don't know whether this breaks some other code I don't have access to.

  Paul Prescod





More information about the Pyrex mailing list