]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use _PyLong_IsNegative instead of _PyLong_Sign if appropriate. (GH-120493)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 24 Jun 2024 06:49:01 +0000 (09:49 +0300)
committerGitHub <noreply@github.com>
Mon, 24 Jun 2024 06:49:01 +0000 (09:49 +0300)
commit02df6795743ee4ee26a07986edbb5e22ae9fec8b
treedf7c0e397621b2126f1691250a194d461d8b36ab
parent35e998f5608b04cdd331e67dd80d4829df71a5fd
Use _PyLong_IsNegative instead of _PyLong_Sign if appropriate. (GH-120493)

It is faster and more obvious.
Modules/_ctypes/_ctypes.c
Modules/_interpretersmodule.c
Modules/_io/_iomodule.c