Skip to content

bpo-32591: Fix PyExc_WarnFormat call (follow-up commit_#5263

Merged
1st1 merged 1 commit intopython:masterfrom
1st1:fix_unawaited
Jan 22, 2018
Merged

bpo-32591: Fix PyExc_WarnFormat call (follow-up commit_#5263
1st1 merged 1 commit intopython:masterfrom
1st1:fix_unawaited

Conversation

@1st1
Copy link
Member

@1st1 1st1 commented Jan 21, 2018

@njsmith
Copy link
Contributor

njsmith commented Jan 21, 2018

Don't you want a < 0 check there? I think the sense of the test is backwards.

Probably should also note for posterity that there original code was correct but less idiomatic; the patch here doesn't change behavior but does make the code make more sense to coverity.

@1st1 1st1 added the skip news label Jan 22, 2018
@1st1
Copy link
Member Author

1st1 commented Jan 22, 2018

Don't you want a < 0 check there? I think the sense of the test is backwards.

Agree.

@1st1 1st1 merged commit 3510334 into python:master Jan 22, 2018
@1st1 1st1 deleted the fix_unawaited branch January 22, 2018 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants