-
-
Notifications
You must be signed in to change notification settings - Fork 516
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-specific Cython pragmas like #clib #24105
Comments
This comment has been minimized.
This comment has been minimized.
New commits:
|
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:5
Makes sense and LGTM. |
Reviewer: Travis Scrimshaw |
comment:6
Well my compiler doesn't like it in sage-on-gentoo
I am on gcc-6.4.0. |
comment:7
Can you run the test manually outside of the doctester? You should see a better error message, which is not shown here because the doctester omits normal output if an exception was raised. |
comment:8
Replying to @jdemeyer:
Thanks for that clue! That's caused by my multi-python pynac hack in sage-on-gentoo. The previous doctest was adjusted with a Glad I didn't put this back to "need_work". |
Changed branch from u/jdemeyer/deprecate_sage_specific_cython_pragmas_like__clib to |
Deprecate
Cython preprocessor pragmas like
#clib flint
. Instead, you can use the Cython declarations like# distutils: libraries = flint
.Various functions in
sage.misc.cython
to implement this. Keep them as private underscored functions.The module
sage.misc.cython_c
which currently only contains a wrapper aroundcython_import_all()
.Component: misc
Author: Jeroen Demeyer
Branch/Commit:
de24e8b
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/24105
The text was updated successfully, but these errors were encountered: