Skip to content

bpo-40217: Clean code in PyType_FromSpec_Alloc and add NEWS entry #19733

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 2 commits into from
Apr 27, 2020

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Apr 27, 2020

@pablogsal
Copy link
Member Author

Some minor cleanups were missing before #19414 was merged

return PyErr_NoMemory();

obj = obj;
Copy link
Member

Choose a reason for hiding this comment

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

Would you mind to keep this instruction? I love it :-D (I'm kidding you, please remove it!)

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe we should add some volatile 😉

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM.

@pablogsal pablogsal merged commit 91a5ae1 into master Apr 27, 2020
@pablogsal pablogsal deleted the bpo-40217-2 branch April 27, 2020 14:24
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.

4 participants