This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients BTaskaya, pablogsal, vstinner
Date 2020-04-01.21:48:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585777692.44.0.531517822071.issue40140@roundup.psfhosted.org>
In-reply-to
Content
I modified recently the test:

(1) commit 278c1e159c970da6cd6683d18c6211f5118674cc

-        os.waitpid(pid, 0)
+        support.wait_process(pid, exitcode=0)

(2) commit 16d75675d2ad2454f6dfbf333c94e6237df36018

Close the fd *after* calling support.wait_process() to prevent sending SIGHUP to the child process, which made support.wait_process(pid, exitcode=0) to fail since exitcode=-1 (-SIGHUP) != 0.

--

test_builtin.test_input_no_stdout_fileno() also hangs on AIX:
https://bugs.python.org/issue31160#msg365478
History
Date User Action Args
2020-04-01 21:48:12vstinnersetrecipients: + vstinner, pablogsal, BTaskaya
2020-04-01 21:48:12vstinnersetmessageid: <1585777692.44.0.531517822071.issue40140@roundup.psfhosted.org>
2020-04-01 21:48:12vstinnerlinkissue40140 messages
2020-04-01 21:48:12vstinnercreate