This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Gustavo Goretkin
Recipients Gustavo Goretkin, ned.deily, ronaldoussoren
Date 2016-02-11.22:11:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455228683.06.0.527873241791.issue26343@psf.upfronthosting.co.za>
In-reply-to
Content
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/
History
Date User Action Args
2016-02-11 22:11:23Gustavo Goretkinsetrecipients: + Gustavo Goretkin, ronaldoussoren, ned.deily
2016-02-11 22:11:23Gustavo Goretkinsetmessageid: <1455228683.06.0.527873241791.issue26343@psf.upfronthosting.co.za>
2016-02-11 22:11:23Gustavo Goretkinlinkissue26343 messages
2016-02-11 22:11:22Gustavo Goretkincreate