[Cython] Function calls and ref counts

2016-03-15 Thread John Ehresman
Hi, I ran into a bug where a python object was deleted in the middle of a function that was using it because a callback decref'd the one and only reference to the object. This doesn't happen with python bytecode because ref counts of the callable and of all args are essentially incref'd befo

Re: [Cython] Function calls and ref counts

2016-03-15 Thread Jeroen Demeyer
I cannot reproduce the problem... It might be relevant to mention things like OS and Python version. ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel

Re: [Cython] Manylinux wheels for Cython

2016-03-15 Thread Matthew Brett
Hi, On Mon, Mar 7, 2016 at 5:47 PM, Matthew Brett wrote: > Hi, > > I don't know whether y'all have been following over at distutils-sig, > but there's a new distutils PEP that defines a `manylinux` format for > Linux wheels that work on many different x86 Linux distributions: > > https://www.pyth

Re: [Cython] Cython alpha 0.24

2016-03-15 Thread Jeroen Demeyer
On 2016-03-13 14:03, Robert Bradshaw wrote: If we accept cross-project includes I missed the memo that cross-project includes are not "accepted". They do work, just add include_path=sys.path to the cythonize() call. All I'm doing with my patch is to remove the need to explicitly add that in