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 Michael.Felt
Recipients BTaskaya, Michael.Felt, vstinner
Date 2020-04-02.14:20:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1585837227.16.0.492141578305.issue40155@roundup.psfhosted.org>
In-reply-to
Content
If I move the close to before the support.waitprocess() call I get:

aixtools@x064:[/home/aixtools/py39-3.9]./python -m test test_builtin
0:00:00 Run tests sequentially
0:00:00 [1/1] test_builtin

I am child - this is my PID:22544444
I am parent:21954666 with child:22544444fd:6 input:b'quux\r'
I am parent:21954666 with lines:[]
I am child - exiting PID:22544444
I am parent:21954666 with lines:['stdin.isatty(): True']
I am parent:21954666 with lines:['stdin.isatty(): True', "captured: 'prompt'"]
I am parent:21954666 starting wait_process(22544444, exitcode=0)
I am parent:21954666 with child:22544446fd:6 input:b'quux\r\n'
I am parent:21954666 with lines:[]
I am child - this is my PID:22544446
I am child - exiting PID:22544446
I am parent:21954666 with lines:['tty = True']
I am parent:21954666 with lines:['tty = True', "'quux'"]
I am parent:21954666 starting wait_process(22544446, exitcode=0)
I am parent:21954666 with child:22544448fd:6 input:b'quux\xe9\r\n'
I am parent:21954666 with lines:[]
I am child - this is my PID:22544448
I am child - exiting PID:22544448
I am parent:21954666 with lines:['tty = True']
I am parent:21954666 with lines:['tty = True', "'quux\\udce9'"]
I am parent:21954666 starting wait_process(22544448, exitcode=0)
I am parent:21954666 with child:22544450fd:6 input:b'quux\xe9\r\n'
I am parent:21954666 with lines:[]
I am child - this is my PID:22544450
I am child - exiting PID:22544450
I am parent:21954666 with lines:['tty = True']
I am parent:21954666 with lines:['tty = True', "'quux\\udce9'"]
I am parent:21954666 starting wait_process(22544450, exitcode=0)
== Tests result: SUCCESS ==

1 test OK.
History
Date User Action Args
2020-04-02 14:20:27Michael.Feltsetrecipients: + Michael.Felt, vstinner, BTaskaya
2020-04-02 14:20:27Michael.Feltsetmessageid: <1585837227.16.0.492141578305.issue40155@roundup.psfhosted.org>
2020-04-02 14:20:27Michael.Feltlinkissue40155 messages
2020-04-02 14:20:27Michael.Feltcreate