Undocumented issue: Open system call blocks on named pipes (and a feature request)

Grant Edwards grant.b.edwards at gmail.com
Fri Dec 28 12:21:07 EST 2018


On 2018-12-27, Daniel Ojalvo via Python-list <python-list at python.org> wrote:

>>>> open("this_is_a_pipe")
><blocks>

Opening a tty device can also block[1].  However, if somebody is using
the open() builtin on tty devices that's probably the least of their
problems.

[1] Technically, opening any character-mode device could block --
    serial ports are the only "common" example I can think of.

-- 
Grant Edwards               grant.b.edwards        Yow! How many retured
                                  at               bricklayers from FLORIDA
                              gmail.com            are out purchasing PENCIL
                                                   SHARPENERS right NOW??



More information about the Python-list mailing list