[capi-sig] Segfault when using own C-written module and exiting python
Laurent Gautier
lgautier at gmail.com
Sun Jun 8 12:34:10 CEST 2008
2008/6/7 Stefan Behnel <stefan_ml at behnel.de>:
> Hi,
>
> laurent wrote:
>> On Fri, 2008-06-06 at 13:23 +0200, Stefan Behnel wrote:
>>> If the existing code base isn't too large yet, consider switching to Cython
>>> instead of C.
>>
>> The C part is only a little more than 2000 lines of source so far
>> (and with no plan to go much beyond that, it's about feature-complete
>> for a first release).
>
> This might be a good read then:
>
> http://permalink.gmane.org/gmane.comp.python.cython.devel/1965
>
>
>> The CPython project looks very nice.
>
> Cython. CPython is the name commonly used for the standard Python implementation.
>
Yes. It was just a freudian slip, I suppose.
>> However, there are potentially dark corners I have to work around (and
>> so far I am not completely successful at it, as my post suggests
>
> Then you should really consider letting Cython give you a hand with the ugly
> things (like garbage collection or class definition), so that you can
> concentrate on the more interesting stuff.
Yes, I have read the mailing reference in the beginning of your
mail... and I'll stick to C given
the nature of what I have to do (especially since this is now working ;-) ).
> Stefan
>
>
More information about the capi-sig
mailing list