[Cython] 0.16 release

Vitja Makarov vitja.makarov at gmail.com
Sat Jan 28 17:05:58 CET 2012

2012/1/26 Jason Grout <jason-sage at creativetrax.com>:
> On 1/25/12 11:39 AM, Robert Bradshaw wrote:
>> install
>> https://sage.math.washington.edu:8091/hudson/view/ext-libs/job/sage-build/lastSuccessfulBuild/artifact/cython-devel.spkg
>> by downloading it and running "sage -i cython-devel.spkg"
> In fact, you could just do
> sage -i
> https://sage.math.washington.edu:8091/hudson/view/ext-libs/job/sage-build/lastSuccessfulBuild/artifact/cython-devel.spkg
> and Sage will (at least, should) download it for you, so that's even one
> less step!
> Jason

Thanks for detailed instruction! I've successfully built it.

"sage -t -gdb ./...." doesn't work, is that a bug?

vitja at mchome:~/Downloads/sage-4.8$ ./sage  -t -gdb
sage -t -gdb "devel/sage/sage/combinat/sf/macdonald.py"
Type r at the (gdb) prompt to run the doctests.
Type bt if there is a crash to see a traceback.
gdb --args python /home/vitja/.sage//tmp/macdonald_6182.py
starting cmd gdb --args python /home/vitja/.sage//tmp/macdonald_6182.py
ImportError: No module named site
	 [0.2 s]

The following tests failed:

	sage -t -gdb "devel/sage/sage/combinat/sf/macdonald.py"
Total time for all tests: 0.2 seconds

I've found another way to run tests (using sage -sh and then direct
python ~/.sage/tmp/...py)

So I found one of the problems. Here is minimal cython example:

def foo(values):
    return (0,)*len(values)

len(values) somehow is passed as an integer to PyObject_Multiply()


More information about the cython-devel mailing list