[3.10] bpo-42161: mathmodule.c: move _PyLong_GetOne() loop invariant (GH-26391) by miss-islington · Pull Request #26393 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Merged
Merged
Conversation
Contributor
Move _PyLong_GetZero() and _PyLong_GetOne() loop invariants outside
loops in functions:
- math.comb()
- math.gcd()
- math.lcm()
- math.perm()
(cherry picked from commit 3e7ee02)
Co-authored-by: Victor Stinner vstinner@python.org
the-knights-who-say-ni
added
the
CLA signed
label
miss-islington
commented
May 26, 2021
miss-islington commented
Contributor Author
@vstinner: Status check is done, and it's a success ✅ .
bedevere-bot
added
the
skip news
label
bedevere-bot
mentioned this pull request
miss-islington
commented
May 26, 2021
miss-islington commented
Contributor Author
@vstinner: Status check is done, and it's a success ✅ .
bedevere-bot
added
the
awaiting review
label
vstinner
approved these changes
vstinner
left a comment
vstinner
left a comment
Member
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, good bot.
bedevere-bot
added
awaiting merge
and removed
awaiting review
labels
vstinner
merged commit
4115996
into
python:3.10
bedevere-bot
removed
the
awaiting merge
label
miss-islington
deleted the
backport-3e7ee02-3.10
branch
miss-islington
commented
May 26, 2021
miss-islington commented
Contributor Author
@vstinner: Status check is done, and it's a success ❌ .
pablogsal
mentioned this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment