Skip to content

Add Clang Stubfiles #13933

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add Clang Stubfiles #13933

wants to merge 2 commits into from

Conversation

Vizonex
Copy link

@Vizonex Vizonex commented May 3, 2025

For the longest time using clang as been rather annoying on python 3 since the entire library lacks typehinting and I have been using clang for developing bindings as well as other CPython & Cython Related projects. I have already attempted to make a pull request to the python clang maintainers to add stub files with no avail or responses. So I thought moving this here would be a better temporary solution for the time being. Feel free to provide me with feedback if there's anything I need to change as I plan to add a few more in the future such as the third party library pyduktape2 which currently has had suffered from the same outcome.

Copy link
Contributor

github-actions bot commented May 3, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
Copy link
Collaborator

srittau commented May 5, 2025

Please note that you will need a stubs/clang/METADATA.toml file describing these stubs. See CONTRIBUTING.md for more information and the other METADATA.toml files in this repository for examples.

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.

2 participants