Skip to content

bpo-36710: add tstate parameter in errors.c #13540

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

Merged
merged 1 commit into from
May 24, 2019
Merged

bpo-36710: add tstate parameter in errors.c #13540

merged 1 commit into from
May 24, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 24, 2019

Add 'PyThreadState *tstate' parameter to errors.c functions to avoid
rely on global variables (indirectly on _PyRuntime).

https://bugs.python.org/issue36710

Add 'PyThreadState *tstate' parameter to errors.c functions to avoid
rely on global variables (indirectly on _PyRuntime).
@vstinner
Copy link
Member Author

cc @ericsnowcurrently

@vstinner vstinner merged commit b4bdecd into python:master May 24, 2019
@vstinner vstinner deleted the errors_tstate branch May 24, 2019 11:44
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Add 'PyThreadState *tstate' parameter to errors.c functions to avoid
relying on global variables (indirectly on _PyRuntime).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants