]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110850: Use public PyTime functions (#115746)
authorVictor Stinner <vstinner@python.org>
Tue, 20 Feb 2024 23:31:30 +0000 (00:31 +0100)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2024 23:31:30 +0000 (23:31 +0000)
commit145bc2d638370cb6d3da361c6dc05c5bc29f0d11
treedd91999f742cdcc40254ac4ddd93a1834b3f89b3
parent52d14775665a6fde518ee3da88a73f39b09d993f
gh-110850: Use public PyTime functions (#115746)

Replace private _PyTime functions with public PyTime functions.

random_seed_time_pid() now reports errors to its caller.
12 files changed:
Include/internal/pycore_time.h
Modules/_datetimemodule.c
Modules/_queuemodule.c
Modules/_randommodule.c
Modules/_testinternalcapi/pytime.c
Modules/_testsinglephase.c
Modules/_threadmodule.c
Modules/selectmodule.c
Modules/socketmodule.c
Modules/timemodule.c
Python/gc.c
Python/gc_free_threading.c