[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-05-01 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-05-01 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-05-01 Thread STINNER Victor
STINNER Victor added the comment: TODO * check that spawning a thread is blocked in isolated subinterpreter * block loading C extensions which don't implement PEP 489 in isolated subinterpreter (see https://github.com/python/cpython/pull/19820 comments) --

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-05-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 252346acd937ddba4845331994b8ff4f90349625 by Victor Stinner in branch 'master': bpo-40453: Add PyConfig._isolated_subinterpreter (GH-19820) https://github.com/python/cpython/commit/252346acd937ddba4845331994b8ff4f90349625 --

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-04-30 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-04-30 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +19140 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19820 ___ Python tracker ___

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-04-30 Thread STINNER Victor
New submission from STINNER Victor : I propose to add PyConfig._isolated_interpreter configuration parameter to disallow threads, subprocesses and fork in a subinterpreter. _xxsubinterpreter.create() gets a new keyword-only isolated=True parameter to opt-in for not isolated mode, which is