cpython/Tools/build
Victor Stinner 74e425ec18
gh-110014: Fix _POSIX_THREADS and _POSIX_SEMAPHORES usage (#110139)
* pycore_pythread.h is now the central place to make sure that
  _POSIX_THREADS and _POSIX_SEMAPHORES macros are defined if
  available.
* Make sure that pycore_pythread.h is included when _POSIX_THREADS
  and _POSIX_SEMAPHORES macros are tested.
* PY_TIMEOUT_MAX is now defined as a constant, since its value
  depends on _POSIX_THREADS, instead of being defined as a macro.
* Prevent integer overflow in the preprocessor when computing
  PY_TIMEOUT_MAX_VALUE on Windows:
  replace "0xFFFFFFFELL * 1000 < LLONG_MAX"
  with "0xFFFFFFFELL < LLONG_MAX / 1000".
* Document the change and give hints how to fix affected code.
* Add an exception for PY_TIMEOUT_MAX  name to smelly.py
* Add PY_TIMEOUT_MAX to the stable ABI
2023-09-30 19:25:54 +02:00
..
check_extension_modules.py gh-104773: Remove the msilib package (GH-104911) 2023-05-24 20:06:00 -05:00
deepfreeze.py gh-109256: allocate opcode IDs for internal opcodes in their own range (#109269) 2023-09-12 10:36:17 +00:00
freeze_modules.py GH-108716: Turn off deep-freezing of code objects. (GH-108722) 2023-09-08 10:34:40 +01:00
generate_global_objects.py gh-102500: Implement PEP 688 (#102521) 2023-05-04 07:59:46 -07:00
generate_levenshtein_examples.py gh-99016: Make build scripts compatible with Python 3.8 (GH-99017) 2022-11-02 20:30:09 +02:00
generate_re_casefix.py gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00
generate_sre_constants.py gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00
generate_stdlib_module_names.py gh-108494: Argument Clinic partial supports of Limited C API (#108495) 2023-08-25 23:22:08 +02:00
generate_token.py gh-107211: No longer export internal functions (7) (#108425) 2023-08-24 17:40:56 +02:00
parse_html5_entities.py gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00
smelly.py gh-110014: Fix _POSIX_THREADS and _POSIX_SEMAPHORES usage (#110139) 2023-09-30 19:25:54 +02:00
stable_abi.py gh-106316: Remove pytime.h header file (#106317) 2023-07-01 22:27:18 +00:00
umarshal.py Fix a typo in umarshal.py (#108803) 2023-09-06 09:06:41 +00:00
update_file.py gh-97669: Create Tools/build/ directory (#97963) 2022-10-17 12:01:00 +02:00
verify_ensurepip_wheels.py gh-109002: Ensure only one wheel for each vendored package (#109003) 2023-09-06 16:49:44 +02:00