STINNER Victor <victor.stin...@gmail.com> added the comment:

> 3) Find a workaround (such as calling the APIs used by _scproxy in a clean 
> supprocess).

I dislike the idea of *always* spawning a child process, I prefer to leave it 
as it is, but add a recipe in the doc, or add a new helper function doing that.

Spawning a subprocess can have side effects as well, whereas the subprocess is 
only need if you call the function after forking which is not the most common 
pattern in Python.

----------

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

Reply via email to