[capi-sig] Segfault when using own C-written module and exiting python
python_capi at behnel.de
Sat Jun 7 15:12:42 CEST 2008
> 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:
> The CPython project looks very nice.
Cython. CPython is the name commonly used for the standard Python implementation.
> 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.
More information about the capi-sig