-
-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge sage's numpy.pxd with the cython numpy.pxd #4571
Comments
comment:1
|
Attachment: 4571-numpy-pxd.patch.gz |
comment:3
Preliminary patch, need a new Cython spkg for it to work all the way. |
comment:4
Attachment: 4571-more-fixes.patch.gz Here are some more fixes. With this, and the latest state of the repo, all the relevant tests seem to pass. I do get two failures (due to Cython upgrade? something else?), see test.log in /home/dagss/sage-4.0.2-sage.math.washington.edu-x86_64-Linux Once this works let's tag http://hg.cython.org/cython as 0.11.2.1 for #6438? |
comment:5
Note (re: discussion on Cython ML) that shape in numpy.pxd is still a field, long story (well, it is performance critical), and I shouldn't change it. |
comment:6
Another quick comment: With this, full Cython/NumPy functionality is available from the notebook and works well. |
comment:7
Those errors seem completely unrelated, I'll see if I get them too. Other than that, it looks really good. I've used Cython + NumPy from the notebook before, as long as you weren't in sage.ext then "cimport numpy" worked as expected (though there was a point where it didn't). |
comment:8
Hmm... I also got
|
comment:9
Looks good. The single doctest failure was minor, fixed in #6438. |
Reviewer: Robert Bradshaw, Dag Sverre Seljebotn |
Author: Robert Bradshaw, Dag Sverre Seljebotn |
comment:11
Replying to @sagetrac-dagss:
The patch
The username makes it easy to identify the patch, when it is committed, as your contribution. |
comment:12
With both patches applied in the following order:
|
comment:13
Looks like it'll have to be rebased, worked fine on vanilla 4.1. Where's the .tar on sage.math? |
comment:14
Replying to @robertwb:
Source and binary versions are up at http://sage.math.washington.edu/home/mvngu/release/sage-4.1.1.alpha0.tar |
Changed reviewer from Robert Bradshaw, Dag Sverre Seljebotn to Robert Bradshaw, Dag Sverre Seljebotn, Minh Van Nguyen |
comment:17
dagss: The patch
|
Merged: Sage 4.1.1.alpha1 |
CC: @robertwb @sagetrac-dagss
Component: numerical
Author: Robert Bradshaw, Dag Sverre Seljebotn
Reviewer: Robert Bradshaw, Dag Sverre Seljebotn, Minh Van Nguyen
Merged: Sage 4.1.1.alpha1
Issue created by migration from https://trac.sagemath.org/ticket/4571
The text was updated successfully, but these errors were encountered: