Author John Isidore
Recipients John Isidore, docs@python, gvanrossum
Date 2014-05-08.19:05:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
the documentation for BaseEventLoop.connect_read_pipe says: 

> "pipe is file-like object **already switched** to nonblocking."

But it looks like connect_read_pipe() accepts blocking pipes and switches
them to non-blocking mode:

> "It looks like connect_read_pipe() (eventually) sets the fd to non-blocking. So it does work."

If it is indeed the case then the documentation should mention that it
accepts blocking pipes and makes them non-blocking.

May it break other processes by making the file non-blocking if it is a pty
that is shared between processes? 

Related: "Don't set shared file descriptors to non-blocking I/O mode."
Date User Action Args
2014-05-08 19:05:06John Isidoresetrecipients: + John Isidore, gvanrossum, docs@python
2014-05-08 19:05:06John Isidoresetmessageid: <>
2014-05-08 19:05:05John Isidorelinkissue21454 messages
2014-05-08 19:05:03John Isidorecreate