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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22722>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to