Message284816
[no status change, this issue currently does NOT need any attention]
To keep issues separate, I just wanted to document a comment about this issue mentioned in issue29070. It refers to the _copy loop.
if STDIN_FILENO in rfds:
data = stdin_read(STDIN_FILENO)
if not data:
fds.remove(STDIN_FILENO)
+ # Proposal for future behavior change: Signal EOF to
+ # slave if STDIN of master is gone. Solves issue29054.
+ # os.write(master_fd, b'\x04')
else:
_writen(master_fd, data)
> vadmium 2017/01/04 21:50:26
> I suggest leaving this for the other [issue29054, i.e. this] bug. Another option may be to send SIGHUP
> (though I am far from an expert on Unix terminals :).
http://bugs.python.org/review/29070/diff/19626/Lib/pty.py |
|
Date |
User |
Action |
Args |
2017-01-06 12:37:37 | Cornelius Diekmann | set | recipients:
+ Cornelius Diekmann, vstinner, martin.panter |
2017-01-06 12:37:37 | Cornelius Diekmann | set | messageid: <1483706257.55.0.480372883993.issue29054@psf.upfronthosting.co.za> |
2017-01-06 12:37:37 | Cornelius Diekmann | link | issue29054 messages |
2017-01-06 12:37:37 | Cornelius Diekmann | create | |
|