]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Remove internal _PyTime_AsLong() function (#141053)
authorVictor Stinner <vstinner@python.org>
Wed, 5 Nov 2025 17:37:06 +0000 (18:37 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Nov 2025 17:37:06 +0000 (18:37 +0100)
commit8d55faf2d68bbb6486a3e4509e8912d211748756
tree7e98fda19beceb4a561be9558b5e54db612df85a
parent30ab627aab050840d17ac14c9d3730d065bda6af
Remove internal _PyTime_AsLong() function (#141053)

* Replace _PyTime_AsLong() with PyLong_FromInt64()
* Replace _PyTime_FromLong() with PyLong_AsInt64().
Include/internal/pycore_time.h
Modules/_lsprof.c
Modules/_testinternalcapi/pytime.c
Modules/timemodule.c
Python/pytime.c