Skip to content

Conversation

@brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Jan 28, 2022

@brandtbucher brandtbucher changed the title bpo-45628: Check PyMem_Malloc call for NULL bpo-46528: Check PyMem_Malloc call for NULL Jan 28, 2022
break;
}
i += swaptimize(bb, i);
if (swaptimize(bb, &i)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if (swaptimize(bb, &i)) {
if (swaptimize(bb, &i) < 0) {

This is much common in the codebase.

@brandtbucher brandtbucher merged commit 46328d8 into python:main Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants