Skip to content

Conversation

zooba
Copy link
Member

@zooba zooba commented Apr 21, 2021

@@ -2025,7 +2025,7 @@ interp_create(PyObject *self, PyObject *args, PyObject *kwds)
}

// Create and initialize the new interpreter.
PyThreadState *save_tstate = PyThreadState_Swap(NULL);
PyThreadState *save_tstate = PyThreadState_Get();
// XXX Possible GILState issues?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can delete this comment now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure the gilstate issues with subinterpreters have been resolved.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to leave it here

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zooba zooba merged commit 7b86e47 into python:master Apr 21, 2021
@miss-islington
Copy link
Contributor

Thanks @zooba for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

@zooba zooba deleted the bpo-43472 branch April 21, 2021 22:34
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 21, 2021
… called through _xxsubinterpreters module (pythonGH-25506)

(cherry picked from commit 7b86e47)

Co-authored-by: Steve Dower <steve.dower@python.org>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Apr 21, 2021
@bedevere-bot
Copy link

GH-25508 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 21, 2021
… called through _xxsubinterpreters module (pythonGH-25506)

(cherry picked from commit 7b86e47)

Co-authored-by: Steve Dower <steve.dower@python.org>
@bedevere-bot
Copy link

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

miss-islington added a commit that referenced this pull request Apr 21, 2021
… called through _xxsubinterpreters module (GH-25506)

(cherry picked from commit 7b86e47)

Co-authored-by: Steve Dower <steve.dower@python.org>
vstinner pushed a commit that referenced this pull request Apr 28, 2021
… called through _xxsubinterpreters module (GH-25506) (GH-25508)

(cherry picked from commit 7b86e47)

Co-authored-by: Steve Dower <steve.dower@python.org>

Co-authored-by: Steve Dower <steve.dower@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants