Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > It's not perfect--another thread could still spawn a subprocess in > between
Then it could be done in socketmodule.c, when still holding the GIL. Python code can change back the socket to inheritable afterwards if it wants to. > We probably need some kind of API for setting socket inheritance. Right. ---------- nosy: +pitrou priority: -> high versions: +Python 2.6, Python 3.0 -Python 2.5 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3006> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com