Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Vizonex wants to merge5 commits intopython:main
base:main
Choose a base branch
Loading
fromVizonex:add-clang-stubs
Open

Conversation

Vizonex
Copy link

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.

@github-actionsGitHub Actions
Copy link
Contributor

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

@srittau
Copy link
Collaborator

Please note that you will need astubs/clang/METADATA.toml file describing these stubs. SeeCONTRIBUTING.md for more information and the otherMETADATA.toml files in this repository for examples.

Vizonex reacted with thumbs up emoji

@srittau
Copy link
Collaborator

Another build failure is due to the pyright strict config. This should be solved by addingstubs/clang topyrightconfig.stricter.json'sexclude key. There are also some mypy errors here:

https://github.com/python/typeshed/actions/runs/15101805593/job/42443806988?pr=13933

Vizonex reacted with thumbs up emojiVizonex reacted with eyes emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Vizonex@srittau

[8]ページ先頭

©2009-2025 Movatter.jp