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-39161: Document multi-phase init modules under Py_NewInterpreter() #17896

Merged
merged 2 commits into from Jan 9, 2020

Conversation

@encukou
Copy link
Member

encukou commented Jan 7, 2020

+ this also adds a stronger warning against sharing objects between (sub-)interpreters.

https://bugs.python.org/issue39161

Automerge-Triggered-By: @encukou

This also adds a stronger warning against sharing objects between
(sub-)interpreters.
@encukou encukou requested review from ncoghlan and ericsnowcurrently Jan 7, 2020
@ncoghlan ncoghlan changed the title bpo-37194: Document multi-phase init modules under Py_NewInterpreter() bpo-39161: Document multi-phase init modules under Py_NewInterpreter() Jan 7, 2020
Copy link
Contributor

ncoghlan left a comment

LGTM, just a couple of copy-editing comments inline.

Doc/c-api/init.rst Outdated Show resolved Hide resolved
Doc/c-api/init.rst Show resolved Hide resolved
Doc/c-api/init.rst Outdated Show resolved Hide resolved
@ncoghlan

This comment has been minimized.

Copy link
Contributor

ncoghlan commented Jan 7, 2020

Note: I also fixed up the b.p.o links to refer the right issue (this had been confused with the VectorCall one).

@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 9, 2020

Sorry, I can't merge this PR. Reason: Base branch was modified. Review and try the merge again..

@miss-islington miss-islington merged commit 6c5d661 into python:master Jan 9, 2020
5 checks passed
5 checks passed
Docs
Details
Azure Pipelines PR #20200108.7 succeeded
Details
bedevere/issue-number Issue number 39161 found
Details
bedevere/news "skip news" label found
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Jan 9, 2020

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖 I'm not a witch! I'm not a witch!

miss-islington added a commit to miss-islington/cpython that referenced this pull request Jan 9, 2020
pythonGH-17896)

\+ this also adds a stronger warning against sharing objects between (sub-)interpreters.

https://bugs.python.org/issue39161
(cherry picked from commit 6c5d661)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Jan 9, 2020

GH-17918 is a backport of this pull request to the 3.8 branch.

@encukou encukou deleted the encukou:pynewinterpreter-docs branch Jan 9, 2020
miss-islington added a commit that referenced this pull request Jan 9, 2020
GH-17896)

\+ this also adds a stronger warning against sharing objects between (sub-)interpreters.

https://bugs.python.org/issue39161
(cherry picked from commit 6c5d661)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.