commit | 1353b8a4bcef22d985a0b6a186c96439fd540ea8 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Jun 17 07:39:27 2022 -0700 |
committer | GitHub <noreply@github.com> | Fri Jun 17 07:39:27 2022 -0700 |
tree | d4f0af50266732fc51c2637a4d403eb8459ea298 | |
parent | e6cca2e00bf9a3566cb47c417f4d0f480cd4eeb9 [diff] |
gh-74953: Fix PyThread_acquire_lock_timed() code recomputing the timeout (GH-93941) Set timeout, don't create a local variable with the same name. (cherry picked from commit f64557f4803528c53bb9a1d565e3cdf92e97152f) Co-authored-by: Victor Stinner <vstinner@python.org>