Skip to content

Create pyi stub files for cython modules in arith and algebras #39257

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

Merged
merged 5 commits into from
Aug 2, 2025

Conversation

tobiasdiez
Copy link
Contributor

@tobiasdiez tobiasdiez commented Jan 4, 2025

Add pyi stub files for some cython modules in arith and algebras to add typing support (and IDE autocompletion) for these cython modules. They are not supposed to be 100% correct but serve at least as a starting point for further refinements.

At some point they might be autogenerated by cython, but this could easily still take a few years (see cython/cython#3150 and cython/cython#5744 for the current progress)

Add pyi stub files for cython modules in `arith` and `algebras`
@tobiasdiez tobiasdiez changed the title Create pyi stub files for cython modules in sage/src/sage/arith Create pyi stub files for cython modules in arith and algebras Jan 4, 2025
Copy link

github-actions bot commented Jan 4, 2025

Documentation preview for this PR (built with commit 385cf0c; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@tobiasdiez tobiasdiez requested a review from fchapoton January 9, 2025 10:40
@tobiasdiez
Copy link
Contributor Author

@fchapoton as someone interested in adding typing information, could you please have a look at this PR?

@tobiasdiez tobiasdiez requested a review from dimpase July 29, 2025 05:49
@vbraun vbraun merged commit 566e062 into sagemath:develop Aug 2, 2025
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants