Skip to content

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

Merged
vbraun merged 5 commits intosagemath:developfrom
tobiasdiez:add-pyi-stub-files
Aug 2, 2025
Merged

Create pyi stub files for cython modules in arith and algebras#39257
vbraun merged 5 commits intosagemath:developfrom
tobiasdiez:add-pyi-stub-files

Conversation

@tobiasdiez
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown

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
Copy Markdown
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