Charles-François Natali added the comment: > Close_fds is not supposed to close them?
Yes, but some new fds might be open in the child process, e.g. for /dev/urandom. That's why it's better to check that this precise FD is closed. Of course, if the /dev/urandom FD gets assigned the same FD as the one provided by dup() in the parent, we're screwed, but that shouldn't happen (since /dev/urandom is already open in the parent). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18763> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com