[Cython] segfault due to using DECREF instead of XDECREF

2014-01-21 Thread Syam Gadde
(apologies to the moderator for multiple postings -- I'm trying to figure out which of my email addresses is actually being exported to the public!) Hi, It seems that cython's static code analysis is failing on the following code. It thinks that a particular variable (myobject2) must not be NU

[Cython] bytearray tests fail with default unsigned char

2014-01-21 Thread Julian Taylor
hi, the bytearray tests are broken when chars are unsigned. tests/run/bytearraymethods.pyx defines following function: def bytearray_append(b, char c, int i, object o): this gets converted to an effective __Pyx_PyInt_AsUnsignedChar which then errors out when -1 is passed in. chars are unsigned li

Re: [Cython] Compiler crash in RemoveUnreachableCode

2014-01-21 Thread Stefan Behnel
Andriy Kornatskyy, 20.01.2014 22:16: > May be that issue is namespace package related? Both (wheezy.http and > dependent wheezy.core) use namespace_packages directive in setuptools. No, I think it's a problem with importing in Cython compiled modules. ISTM that some extension modules got "reloade