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
fix file extension error using c++ with %cython #22113
Comments
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
Author: Kelly Boothby |
comment:5
Is it OSX's clang, or linux clang that you test it on? |
comment:6
I tested on linux. clang is just a keyword, not the llvm frontend. |
comment:7
I find this quite confusing. I'd say that if you use |
comment:8
My understanding is that this particular 5-letter string "clang" has absolutely nothing to do with the software project named CLANG (written allcaps to disambiguate). Please refer to the documentation of sage.misc.cython_c.cython_compile:
Note that William wrote this code a full year before CLANG was released -- the code was working back then, without CLANG. It should still work without CLANG. |
Reviewer: Jeroen Demeyer |
Changed reviewer from Jeroen Demeyer to Jeroen Demeyer, Julian Rüth |
Changed branch from u/jdemeyer/fix_file_extension_error_using_c___with__cython to |
Running this in the notebook...
produces the following error:
Note that this issue has been known for six years, but wasn't fixed because it was mentioned on a related-looking ticket that got closed: #10249 comment:2
Also, the doctests in
misc.cython.cython
are problematic in that they look like they're testing that function, but they're actually testingmisc.cython_c.cython_compile
. To that end, I'm adding another doctest,Component: cython
Keywords: sagenb cpp cython
Author: Kelly Boothby
Branch/Commit:
77f3c56
Reviewer: Jeroen Demeyer, Julian Rüth
Issue created by migration from https://trac.sagemath.org/ticket/22113
The text was updated successfully, but these errors were encountered: