Files
cpython/Python
Zanie Blue badd5d5ceb gh-160368: Detect sem_clockwait at runtime on Linux (#160371)
When Python is built with older Linux libc headers, timed semaphore waits use the real-time clock even if `sem_clockwait` is available at runtime. Use a weak reference on supported compilers to select `sem_clockwait` at runtime, falling back to `sem_timedwait` when the symbol is absent. ThreadSanitizer builds continue to use the real-time clock.

Addresses [astral-sh/python-build-standalone#1176](https://github.com/astral-sh/python-build-standalone/issues/1176).
2026-10-23 00:32:56 +00:00
..
…

Miscellaneous source files for the main Python shared library