Message229948
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.) |
|
Date |
User |
Action |
Args |
2014-10-24 18:40:21 | r.david.murray | set | recipients:
+ r.david.murray, vstinner, bukzor |
2014-10-24 18:40:21 | r.david.murray | set | messageid: <1414176021.25.0.0663400551906.issue22722@psf.upfronthosting.co.za> |
2014-10-24 18:40:21 | r.david.murray | link | issue22722 messages |
2014-10-24 18:40:20 | r.david.murray | create | |
|