bpo-41710: Add private _PyDeadline_Get() function by vstinner · Pull Request #28674 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
Merged
Conversation
Member
Add a private C API for deadlines: add _PyDeadline_Init() and
_PyDeadline_Get() functions.
Add also the _PyTime_Add() function which clamps the result on overflow.
vstinner
requested review from
abalkin,
pganssle and
rhettinger
as code owners
bedevere-bot
added
the
awaiting core review
label
the-knights-who-say-ni
added
the
CLA signed
label
Add a private C API for deadlines: add _PyDeadline_Init() and _PyDeadline_Get() functions. * Add _PyTime_Add() and _PyTime_Mul() functions which compute t1+t2 and t1*t2 and clamp the result on overflow. * _PyTime_MulDiv() now uses _PyTime_Add() and _PyTime_Mul().
vstinner
added
the
skip news
label
vstinner
merged commit
833fdf1
into
python:main
bedevere-bot
removed
the
awaiting core review
label
vstinner
deleted the
deadline
branch
iritkatriel
mentioned this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment