We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe05acc commit adb444eCopy full SHA for adb444e
1 file changed
Lib/subprocess.py
@@ -2080,7 +2080,7 @@ def _wait_pidfd(self, timeout):
2080
try:
2081
poller = select.poll()
2082
poller.register(pidfd, select.POLLIN)
2083
- events = poller.poll(int(timeout * 1000))
+ events = poller.poll(math.ceil(timeout * 1000))
2084
if not events:
2085
raise TimeoutExpired(self.args, timeout)
2086
return True
0 commit comments