Message260135
I am on OS X 10.9.5
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 5 2015, 21:12:44)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.O_CLOEXEC
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'os' has no attribute 'O_CLOEXEC'
I checked on my system
$ man 2 open | grep CLOEXEC
O_CLOEXEC mark as close-on-exec
The O_CLOEXEC flag causes the file descriptor to be marked as close-on-
exec, setting the FD_CLOEXEC flag. The state of the file descriptor
I first noticed this on an anaconda distribution of python, but it looks like it is also present on the 3.5 .dmg file on https://www.python.org/downloads/ |
|
Date |
User |
Action |
Args |
2016-02-11 22:11:23 | Gustavo Goretkin | set | recipients:
+ Gustavo Goretkin, ronaldoussoren, ned.deily |
2016-02-11 22:11:23 | Gustavo Goretkin | set | messageid: <1455228683.06.0.527873241791.issue26343@psf.upfronthosting.co.za> |
2016-02-11 22:11:23 | Gustavo Goretkin | link | issue26343 messages |
2016-02-11 22:11:22 | Gustavo Goretkin | create | |
|