summaryrefslogtreecommitdiffstats
path: root/config.sub
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-10-02 16:07:56 (GMT)
committerGitHub <noreply@github.com>2023-10-02 16:07:56 (GMT)
commit4d0d1c3866cc408ff3382a9a0220ac0e4f2b3b34 (patch)
treee64710870fc9e41b50cba8b563e2a509ea39309a /config.sub
parent732ad44cec971be5255b1accbac6555d3615c2bf (diff)
downloadcpython-4d0d1c3866cc408ff3382a9a0220ac0e4f2b3b34.zip
cpython-4d0d1c3866cc408ff3382a9a0220ac0e4f2b3b34.tar.gz
cpython-4d0d1c3866cc408ff3382a9a0220ac0e4f2b3b34.tar.bz2
gh-110014: Remove PY_TIMEOUT_MAX from limited C API (#110217)
If the timeout is greater than PY_TIMEOUT_MAX, PyThread_acquire_lock_timed() uses a timeout of PY_TIMEOUT_MAX microseconds, which is around 280.6 years. This case is unlikely and limiting a timeout to 280.6 years sounds like a reasonable trade-off. The constant PY_TIMEOUT_MAX is not used in PyPI top 5,000 projects.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions