New submission from STINNER Victor: On Python 3.5, it seems ok: --- test_get_inheritable_cloexec (test.test_socket.InheritanceTest) ... ok test_set_inheritable (test.test_socket.InheritanceTest) ... ok test_set_inheritable_cloexec (test.test_socket.InheritanceTest) ... ok --- http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.5/builds/1159/steps/test/logs/stdio
But not on on Python 3.6: ====================================================================== FAIL: test_get_set_inheritable (test.test_os.FDInheritanceTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_os.py", line 2723, in test_get_set_inheritable self.assertEqual(os.get_inheritable(fd), True) AssertionError: False != True ====================================================================== FAIL: test_openpty (test.test_os.FDInheritanceTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_os.py", line 2796, in test_openpty self.assertEqual(os.get_inheritable(master_fd), False) AssertionError: True != False ====================================================================== FAIL: test_set_inheritable_cloexec (test.test_os.FDInheritanceTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_os.py", line 2747, in test_set_inheritable_cloexec 0) AssertionError: 1 != 0 ---------------------------------------------------------------------- http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/11800/steps/test/logs/stdio ---------- messages: 273544 nosy: haypo priority: normal severity: normal status: open title: os.set_inheritable() looks to be broken on OpenIndiana versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27847> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com