]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110850: Cleanup pycore_time.h includes (#115724)
authorVictor Stinner <vstinner@python.org>
Tue, 20 Feb 2024 16:50:43 +0000 (17:50 +0100)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2024 16:50:43 +0000 (16:50 +0000)
commitd207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0
tree3c48d470b84dce1673490fb262e4733c105cd315
parente976baba99a5c243ff3a3b5ef2fd14608a398338
gh-110850: Cleanup pycore_time.h includes (#115724)

<pycore_time.h> include is no longer needed to get the PyTime_t type
in internal header files. This type is now provided by <Python.h>
include. Add <pycore_time.h> includes to C files instead.
23 files changed:
Include/internal/pycore_import.h
Include/internal/pycore_lock.h
Include/internal/pycore_parking_lot.h
Include/internal/pycore_semaphore.h
Modules/_datetimemodule.c
Modules/_lsprof.c
Modules/_randommodule.c
Modules/_ssl.c
Modules/_testinternalcapi/test_lock.c
Modules/_threadmodule.c
Modules/faulthandler.c
Modules/posixmodule.c
Modules/signalmodule.c
Modules/socketmodule.c
Modules/socketmodule.h
Modules/timemodule.c
Python/gc.c
Python/gc_free_threading.c
Python/import.c
Python/lock.c
Python/parking_lot.c
Python/thread_nt.h
Python/thread_pthread.h