[issue36603] should pty.openpty() set pty/tty inheritable?

2019-04-11 Thread Hugh Redelmeier
Change by Hugh Redelmeier : -- nosy: +hugh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36603] should pty.openpty() set pty/tty inheritable?

2019-04-11 Thread SilentGhost
Change by SilentGhost : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36603] should pty.openpty() set pty/tty inheritable?

2019-04-11 Thread cagney
New submission from cagney : pty.openpty(), on systems with a working os.openpty() / openpty(3) executes: if (openpty(_fd, _fd, NULL, NULL, NULL) != 0) goto posix_error; if (_Py_set_inheritable(master_fd, 0, NULL) < 0) goto error; if (_Py_set_inheritable(slave_fd,