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

PEP 384: Update PyType_Spec struct per bpo-15140 #1354

Merged
merged 1 commit into from Apr 1, 2020

Conversation

@furkanonder
Copy link
Contributor

@furkanonder furkanonder commented Apr 1, 2020

https://bugs.python.org/issue15140

In PEP 384, the PyType_Spec struct has "const char *doc" and "unsigned int flags" these is not present in the implementation (Include/object.h).

@gvanrossum gvanrossum changed the title bpo:15140 update PyType_Spec struct PEP 384: Update PyType_Spec struct per bpo-15140 Apr 1, 2020
Copy link
Member

@gvanrossum gvanrossum left a comment

Thanks for fixing this!

We usually don't update PEPs when the implementation changes after the PEP was accepted, but in this case it's different, given MvL's comment in the issue tracker. And since this PEP is used as a standard reference, I think fixing the signedness of the flags field is correct too.

@gvanrossum gvanrossum merged commit 41657e2 into python:master Apr 1, 2020
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@furkanonder
Copy link
Contributor Author

@furkanonder furkanonder commented Apr 1, 2020

You're welcome!

mnm678 added a commit to mnm678/peps that referenced this pull request Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants