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
Deprecate sage --cython foo.spyx #22698
Comments
comment:1
For the record: |
comment:2
Wait, they don't have preparsing? Then ... why "s"pyx? WTH? |
comment:3
Replying to @kcrisman:
No. |
comment:4
Then I guess a good way to document this would be to either deprecate them (this would have to be discussed on sage-devel though, maybe ask William too if he introduced them) or to make it really clear in lots of places where one might encounter them that there is zero difference with |
comment:5
I was mostly right but not 100%: there is one difference between
Sage will add some Within Sage itself, doing In my opinion, |
comment:6
Just reformulating my last comment, I can think of 3 ways to run Cython in a Sage environment:
Only 3 makes a difference between |
Author: Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:13
What about Sage specific |
comment:14
Replying to @videlec:
What do you mean; what is your question? |
comment:16
Replying to @videlec:
Right: |
comment:17
ping |
Reviewer: Jean-Pierre Flori |
comment:18
Looks ok. |
Changed branch from u/jdemeyer/deprecate_sage___cython_foo_spyx to |
.spyx
files are treated exactly the same as.pyx
files in all of Sage, with one exception:sage --cython foo.spyx
adds pre-processing to.spyx
files. To be more compatible with other Sage commands (in particular,sage foo.spyx
andload("foo.spyx")
), we deprecatesage --cython foo.spyx
.There is another reason for this:
sage --cython foo.spyx
adds someinclude
statements likecdefs.pxi
. These.pxi
files should be deprecated in Sage. Moreover,.pxi
files in general are semi-deprecated anyway by upstream Cython.CC: @robertwb @jpflori
Component: scripts
Author: Jeroen Demeyer
Branch/Commit:
6984666
Reviewer: Jean-Pierre Flori
Issue created by migration from https://trac.sagemath.org/ticket/22698
The text was updated successfully, but these errors were encountered: