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 ned.deily
Recipients Pavel.Labath, alex, emaste, koobs, ned.deily, pitrou, python-dev, rhettinger, serhiy.storchaka, vstinner
Date 2015-03-17.11:42:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426592556.29.0.393055463001.issue23458@psf.upfronthosting.co.za>
In-reply-to
Content
$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.4.11
BuildVersion:	8S165
$ ./python
Python 3.4.3+ (3.4:910a7a540a31, Mar 17 2015, 03:33:01)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> fd=os.open('.', os.O_RDONLY)
>>> os.get_inheritable(fd)
False
>>> os.set_inheritable(fd, True)
>>> os.get_inheritable(fd)
True

But if I port test_urandom_fd_non_inheritable from 2.7, it fails on 3.4 as well.
History
Date User Action Args
2015-03-17 11:42:36ned.deilysetrecipients: + ned.deily, rhettinger, pitrou, vstinner, alex, python-dev, serhiy.storchaka, koobs, emaste, Pavel.Labath
2015-03-17 11:42:36ned.deilysetmessageid: <1426592556.29.0.393055463001.issue23458@psf.upfronthosting.co.za>
2015-03-17 11:42:36ned.deilylinkissue23458 messages
2015-03-17 11:42:36ned.deilycreate