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 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:37Cornelius Diekmannsetrecipients: + Cornelius Diekmann, vstinner, martin.panter
2017-01-06 12:37:37Cornelius Diekmannsetmessageid: <1483706257.55.0.480372883993.issue29054@psf.upfronthosting.co.za>
2017-01-06 12:37:37Cornelius Diekmannlinkissue29054 messages
2017-01-06 12:37:37Cornelius Diekmanncreate