Gregory P. Smith <g...@krypto.org> added the comment:

+1 agreed.  this is the simplest approach to start with.

Code to restrict: os.fork itself and disallowing the use of preexec_fn on 
subprocess within subinterpreters.

feel free to ignore preexec_fn in subprocess for the time being if desired, we 
already promise people that it is a bad idea legacy API that we don't want, 
guaranteed to cause undiagnosable problems and deadlocks at times. :)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34651>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to