Re: [Cython] __dealloc__ called even if __cinit__ failed

2015-10-08 Thread Stefan Behnel
Jeroen Demeyer schrieb am 05.10.2015 um 16:04: > I'm not entirely sure if this is a feature or bug... > > I noticed that, if a __cinit__ call raises an exception on an object, that > __dealloc__ on that same object is still called. > > The problem is that __cinit__ is supposed to set up the C-lev

Re: [Cython] cython-devel Digest, Vol 57, Issue 5

2015-10-08 Thread Stephen LARROQUE
Hello Masood, I can only answer the second issue. You need to explicitly include the *.pyx files in your MANIFEST.in, because else this .pyx files aren't automatically managed by the distutils package so it doesn't know it has to add the .pyx files. I have recently packaged two libraries, with di