[issue26343] os.O_CLOEXEC not available on OS X

Gustavo Goretkin report at bugs.python.org
Thu Feb 11 17:32:49 EST 2016


Gustavo Goretkin added the comment:

It looks like cpython will check to see if O_CLOEXEC is #defined. 

In my system's /usr/include/sys/fcntl.h

#if __DARWIN_C_LEVEL >= 200809L
#define O_CLOEXEC       0x1000000       /* implicitly set FD_CLOEXEC */
#endif

----------

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


More information about the Python-bugs-list mailing list