projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608876b
)
Fix warning in _testembed.c (GH-13533)
author
Pablo Galindo
<Pablogsal@gmail.com>
Thu, 23 May 2019 23:53:21 +0000
(
00:53
+0100)
committer
GitHub
<noreply@github.com>
Thu, 23 May 2019 23:53:21 +0000
(
00:53
+0100)
Programs/_testembed.c
patch
|
blob
|
history
diff --git
a/Programs/_testembed.c
b/Programs/_testembed.c
index 21d3b445d7752ca777f67b9943860f9b76ad6825..de1c5877f0f5abc95388e197bed883281588b5b0 100644
(file)
--- a/
Programs/_testembed.c
+++ b/
Programs/_testembed.c
@@
-1231,15
+1231,13
@@
static int _audit_subinterpreter_hook(const char *event, PyObject *args, void *u
static int test_audit_subinterpreter(void)
{
- PyThreadState *ts;
-
Py_IgnoreEnvironmentFlag = 0;
PySys_AddAuditHook(_audit_subinterpreter_hook, NULL);
_testembed_Py_Initialize();
-
ts =
Py_NewInterpreter();
-
ts =
Py_NewInterpreter();
-
ts =
Py_NewInterpreter();
+ Py_NewInterpreter();
+ Py_NewInterpreter();
+ Py_NewInterpreter();
Py_Finalize();