[capi-sig] Segfault when using own C-written module and exiting python

Stefan Behnel python_capi at behnel.de
Fri Jun 6 14:35:20 CEST 2008


Hi,

M.-A. Lemburg wrote:
> On 2008-06-06 12:31, Laurent Gautier wrote:
>> I am having trouble with some of the use-cases for a C-written module
>> of my own
>> (if curious, I am working on Python-R interface... this is open source
>> so I can provide the whole source if needed).
> 
> I've never seen this particular error before, but it's likely that you
> have a ref count bug somewhere in your code.

If the existing code base isn't too large yet, consider switching to Cython
instead of C.

http://cython.org/

Stefan



More information about the capi-sig mailing list