Skip to content

fix some METH_NOARGS arg missing #2888

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 1 commit into from
May 30, 2024

Conversation

pmp-p
Copy link
Member

@pmp-p pmp-p commented May 30, 2024

References:
https://docs.python.org/3/c-api/structures.html#c.METH_NOARGS

why it is important:
https://blog.pyodide.org/posts/function-pointer-cast-handling/

A parser in CI would be usefull indeed, as only WebAssembly can spot them, and only at runtime.

@pmp-p pmp-p added the Code quality/robustness Code quality and resilience to changes label May 30, 2024
@pmp-p pmp-p requested a review from a team as a code owner May 30, 2024 08:34
Copy link
Member

@ankith26 ankith26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks 🎉

@zoldalma999 zoldalma999 merged commit 4dbcd4f into pygame-community:main May 30, 2024
39 checks passed
@ankith26 ankith26 added this to the 2.5.0 milestone May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code quality/robustness Code quality and resilience to changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants