Visitar URL original
bpo-40514: Add --with-experimental-isolated-subinterpreters by vstinner · Pull Request #19926 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20200512220342/https://github.com/python/cpython/pull/19926
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-40514: Add --with-experimental-isolated-subinterpreters #19926

Merged
merged 1 commit into from May 5, 2020

Conversation

@vstinner
Copy link
Member

vstinner commented May 5, 2020 •

Add --with-experimental-isolated-subinterpreters build option to
configure: better isolate subinterpreters, experimental build mode.

When used, force the usage of the libc malloc() memory allocator,
since pymalloc relies on the unique global interpreter lock (GIL).

https://bugs.python.org/issue40514

Add --with-experimental-isolated-subinterpreters build option to
configure: better isolate subinterpreters, experimental build mode.

When used, force the usage of the libc malloc() memory allocator,
since pymalloc relies on the unique global interpreter lock (GIL).
@vstinner
Copy link
Member Author

vstinner commented May 5, 2020

--with-experimental-isolated-subinterpreters option is very long on purpose: to advertize that you must not use it, unless you fully understand its purpose :-)

@vstinner
Copy link
Member Author

vstinner commented May 5, 2020

I didn't document the build option in Misc/SpecialBuilds.txt or Doc/whatsnew/3.9.rst on purpose: you should not use this special build :-) Basically, this option is only for @ericsnowcurrently and me :-D

Copy link
Member

corona10 left a comment

I also agree with this.
End-users does not need to know this option and even using might be dangerous in this phase.

Copy link
Member

ericsnowcurrently left a comment

LGTM

@ericsnowcurrently
Copy link
Member

ericsnowcurrently commented May 5, 2020

+1 on not advertising the build option.

@vstinner vstinner merged commit c5fa364 into python:master May 5, 2020
9 checks passed
9 checks passed
Docs
Details
Windows (x86)
Details
Windows (x64)
Details
macOS
Details
Ubuntu
Details
Azure Pipelines PR #20200505.26 succeeded
Details
bedevere/issue-number Issue number 40514 found
Details
bedevere/news News entry found in Misc/NEWS.d
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@vstinner vstinner deleted the vstinner:exp_isol_subinterp branch May 5, 2020
@vstinner
Copy link
Member Author

vstinner commented May 5, 2020

@ericsnowcurrently @corona10: I'm happy that you like the name :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.