Ronald Oussoren <ronaldousso...@mac.com> added the comment:

Note that the POSIX_SPAWN_USEVFORK may not do anything at this point (see the 
link in my previous message, if I read the code correctly POSIX_SPAWN_USEVFORK 
is no longer used in the implementation of posix_spawn(3)).

Even if it did do something the user that uses the flag needs to evaluate 
whether or not it is safe to do so, and this requires inspecting the 
os.posix_spawn implementation and not just the Python code that calls it. 

IMHO we shouldn't expose or use this flag.

If it were useful to do anything with the flag the os.posix_spawn 
implementation should do so automatically when it is safe to do so (which may 
require additional steps around calling posix_spawn(3)).

----------

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

Reply via email to