Re: [Cython] Bug: operator[] does not respect except +

2014-09-05 Thread J Robert Ray
ython interpreter to abort. On Fri, Aug 8, 2014 at 7:04 PM, J Robert Ray wrote: > I apologize for not having a working demonstration, but I have found this > bug and verified it is still an issue in Cython 0.20.2. No try/catch block > is generated for operator[]. In contrast, a try/catch b

[Cython] Bug: operator[] does not respect except +

2014-08-08 Thread J Robert Ray
I apologize for not having a working demonstration, but I have found this bug and verified it is still an issue in Cython 0.20.2. No try/catch block is generated for operator[]. In contrast, a try/catch block does get generated for operator(). If it is any use, here is a paraphrasing of the pyx co

[Cython] SIGSEGV in __Pyx_CyFunction_traverse

2013-02-05 Thread J Robert Ray
I was getting a crash during module init of a cython module if a garbage collection happens between a call to __Pyx_CyFunction_InitDefaults and the code to populate the defaults. The attached patch fixes the crash. This bug affects at least Cython 0.18 and 0.17.1. __Pyx_CyFunction_InitDefaults wa