[issue22722] inheritable pipes are unwieldy without os.pipe2

R. David Murray report at bugs.python.org
Fri Oct 24 20:40:21 CEST 2014


R. David Murray added the comment:

pipe2 can also be used to set O_NONBLOCK, so no, that specific API change wouldn't obsolete pipe2.  So, a shim for pipe2 would be the way to go, since that's currently the de-facto standard way of passing flags on pipe creation in unix land.  (The os module is usually a thin layer over OS services...for other modules we might design a more divergent API, but generally in the os module we do not.)

----------
nosy: +haypo, r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22722>
_______________________________________


More information about the Python-bugs-list mailing list