Ned Deily added the comment: $ 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23458> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com