Skip to content

Use _PyLong_IsNegative instead of _PyLong_Sign if appropriate.#120493

Merged
serhiy-storchaka merged 1 commit intopython:mainfrom
serhiy-storchaka:_PyLong_IsNegative
Jun 24, 2024
Merged

Use _PyLong_IsNegative instead of _PyLong_Sign if appropriate.#120493
serhiy-storchaka merged 1 commit intopython:mainfrom
serhiy-storchaka:_PyLong_IsNegative

Conversation

@serhiy-storchaka
Copy link
Member

It is faster and more obvious.

@serhiy-storchaka serhiy-storchaka merged commit 02df679 into python:main Jun 24, 2024
@serhiy-storchaka serhiy-storchaka deleted the _PyLong_IsNegative branch June 24, 2024 06:49
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
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.

1 participant