diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-12-25 18:27:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-25 18:27:06 (GMT) |
commit | c0e58168e2e1dbc025dfe9c70e5d8a4392c78141 (patch) | |
tree | 4353032458cd119f37d239582d57df29cc04ee39 /Python/Python-ast.c | |
parent | 78ccb41c568c7a84ec1a038a297ef4bd3f042d49 (diff) | |
download | cpython-c0e58168e2e1dbc025dfe9c70e5d8a4392c78141.zip cpython-c0e58168e2e1dbc025dfe9c70e5d8a4392c78141.tar.gz cpython-c0e58168e2e1dbc025dfe9c70e5d8a4392c78141.tar.bz2 |
[3.12] [doc] Make subprocess.wait documentation more precise (GH-98700) (GH-112153)
An active loop is only used when the `timeout` parameter is used on
POSIX.
When no timeout is used, the code calls `os.waitpid` internally (which puts
the process on a sleep status). On Windows, the internal Windows API
call accepts a timeout parameter, so that is delegated to the OS.
(cherry picked from commit 81ab0e8a4add53035c87b040afda6d554cace528)
Co-authored-by: Luis Pedro Coelho <luis@luispedro.org>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions