]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use support.sleeping_retry() and support.busy_retry() (#93848)
authorVictor Stinner <vstinner@python.org>
Wed, 15 Jun 2022 12:09:56 +0000 (14:09 +0200)
committerGitHub <noreply@github.com>
Wed, 15 Jun 2022 12:09:56 +0000 (14:09 +0200)
commit0ba80273f2dba5b70de870a333e65ad025cca640
tree7f21af5a00c17463625072031650af5bd50895ea
parentbddbd80cff950b16712ae9e72eeba2a0f26c65e0
Use support.sleeping_retry() and support.busy_retry() (#93848)

* Replace time.sleep(0.010) with sleeping_retry() to
  use an exponential sleep.
* support.wait_process(): reuse sleeping_retry().
* _test_eintr: remove unused variables.
Lib/test/_test_eintr.py
Lib/test/signalinterproctester.py
Lib/test/support/__init__.py
Lib/test/support/threading_helper.py
Lib/test/test_asyncio/utils.py
Lib/test/test_asyncore.py
Lib/test/test_logging.py