commit | 252346acd937ddba4845331994b8ff4f90349625 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri May 01 11:33:44 2020 +0200 |
committer | GitHub <noreply@github.com> | Fri May 01 11:33:44 2020 +0200 |
tree | 71d6298db81733d652abaa510c09ba90078efff0 | |
parent | 8bcfd31cc01e068bca78aa42a87c24aea6ebc6b1 [diff] |
bpo-40453: Add PyConfig._isolated_subinterpreter (GH-19820) An isolated subinterpreter cannot spawn threads, spawn a child process or call os.fork(). * Add private _Py_NewInterpreter(isolated_subinterpreter) function. * Add isolated=True keyword-only parameter to _xxsubinterpreters.create(). * Allow again os.fork() in "non-isolated" subinterpreters.