Skip to content
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

Don't use C type PyNoArgsFunction #739

Closed
serhiy-storchaka opened this issue Jan 18, 2020 · 1 comment · Fixed by #741
Closed

Don't use C type PyNoArgsFunction #739

serhiy-storchaka opened this issue Jan 18, 2020 · 1 comment · Fixed by #741
Labels

Comments

@serhiy-storchaka
Copy link

It is not used in Python core, should not be used in user code, and will be removed in Python 3.9. METH_NOARGS functions should have type PyCFunction instead of PyNoArgsFunction and take NULL as the second argument.

@kngwyu kngwyu added the FFI label Jan 18, 2020
@kngwyu
Copy link
Member

kngwyu commented Jan 18, 2020

Thanks, I didn't know that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants