Craig Citro, 14.07.2010 10:14:
> I'm working on getting cython-closures to compile and pass doctests
> with Sage. I have everything building and starting up okay, but I ran
> into a problem actually running doctests -- everything's segfaulting
> like crazy. I tracked down the problem, which is with the min/max
> optimization you added to Optimize.py. Robert and I glanced at it this
> afternoon, and spotted two issues: (1) there's some bad typing that
> gets generated in the C code (a Py_ssize_t gets treated as a PyObject
> *), and (2) the arguments get evaluated multiple times.

I looked into it and trying to fix it made me run into a temp handling bug. 
LetRefNodes do not properly do their ref-counting when they work as a 
pass-through from temp nodes to other temp nodes. I'll see if I can fix 
that first.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to