SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 38 Python

gh-110850: Cleanup PyTime API: PyTime_t are nanoseconds (#115753)

PyTime_t no longer uses an arbitrary unit, it's always a number of
nanoseconds (64-bit signed integer).

* Rename _PyTime_FromNanosecondsObject() to _PyTime_FromLong().
* Rename _PyTime_AsNanosecondsObject() to _PyTime_AsLong().
* Remove pytime_from_nanoseconds().
* Remove pytime_as_nanoseconds().
* Remove _PyTime_FromNanoseconds().
V
Victor Stinner committed
e4c34f04a197391576a692d77eaece1ea10abd87
Parent: 69ab930
Committed by GitHub <noreply@github.com> on 2/21/2024, 10:46:00 AM