bpo-36710: add tstate parameter in errors.c by vstinner · Pull Request #13540 · python/cpython

@vstinner

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

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).