]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-104372: use == -1 before PyErr_Occurred (GH-104831) (#104833)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 May 2023 04:40:21 +0000 (21:40 -0700)
committerGitHub <noreply@github.com>
Wed, 24 May 2023 04:40:21 +0000 (04:40 +0000)
commitb719dd8725a820a1af4b76c30ae87c23d8db68c0
treee348118b9a9f65d5c9a8894c158986173d963cf9
parent22c45c49bbdc480ce221fc11ddf488b41c0d9c60
[3.12] gh-104372: use == -1 before PyErr_Occurred (GH-104831) (#104833)

gh-104372: use == -1 before PyErr_Occurred (GH-104831)

The ideal pattern for this.  (already in the 3.11 backport)
(cherry picked from commit 7f963bfc79a515dc9822ebddbfb1b5927d2dda09)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Modules/_posixsubprocess.c