Message284816
| Author |
Cornelius Diekmann |
| Recipients |
Cornelius Diekmann, martin.panter, vstinner |
| Date |
2017年01月06日.12:37:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1483706257.55.0.480372883993.issue29054@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
[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 |
|
History
|
|---|
| 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 |
|