Antoine Pitrou added the comment: > This seems objectionable since set_inheritable() code is invoked > twice, where I'd prefer to invoke it zero times (or at most once).
Does it make a difference in the grand scheme of things? If you're forking a process, you're usually doing something heavy enough that two calls to set_inheritable() will end up invisible. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22722> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com