Set cython directive binding=True#40341
Conversation
|
Documentation preview for this PR (built with commit c3de821; changes) is ready! 🎉 |
To fix File "matroid.pyx", line 2698, in init sage.matroids.matroid NameError: name 'dependent_sets' is not defined
|
@dcoudert The test for |
|
Got it, and it's my fault: methods |
Thanks a lot, that worked! |
|
The CI runs for sage-the-distro are red, but I think it's just because it doesn't recognize the changed compilation options correctly and does an incremental build, without recompiling the necessary cython modules. |
|
This looks good to me but I'm not sure how to double check that on my laptop. Any advise is more than welcome. |
|
Thanks! Since all cython modules need to be recompiled, either |
dcoudert
left a comment
There was a problem hiding this comment.
It compiles well on Fedora 39 and passes tests (make ptest).
LGTM.
|
I hope the tests I did are sufficient |
|
Thanks for the review! |
sagemathgh-40687: Drop all cython binding=True declarations As this is the default mode since sagemath#40341 URL: sagemath#40687 Reported by: Antonio Rojas Reviewer(s):
Continuation of #26254. This is needed for better integration of Cython functions and thereby unlocks a few further documentation improvements (#27578, #30884, #31309, ...).
Moreover,
binding=Trueis the default in Cython 3.📝 Checklist
⌛ Dependencies