bpo-36737: Use the module state C-API for warnings. (gh-13159)

This commit is contained in:
Eric Snow 2019-05-10 13:29:55 -04:00 committed by GitHub
parent 351c67416b
commit 86ea58149c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 210 additions and 124 deletions

View file

@ -81,7 +81,7 @@ extern void PyLong_Fini(void);
extern void _PyFaulthandler_Fini(void);
extern void _PyHash_Fini(void);
extern int _PyTraceMalloc_Fini(void);
extern void _PyWarnings_Fini(_PyRuntimeState *runtime);
extern void _PyWarnings_Fini(PyInterpreterState *interp);
extern void _PyGILState_Init(
_PyRuntimeState *runtime,