[Python-checkins] cpython: Issue #27736: Improve the existing embedded interpreter init/fini test
ned.deily
python-checkins at python.org
Tue Aug 16 00:18:38 EDT 2016
https://hg.python.org/cpython/rev/4f69626fd923
changeset: 102681:4f69626fd923
user: Ned Deily <nad at python.org>
date: Tue Aug 16 00:17:42 2016 -0400
summary:
Issue #27736: Improve the existing embedded interpreter init/fini test
by increasing the number of iterations. That appears sufficient to
expose the ref count problem fixed in this issue.
Patch suggested by Xiang Zhang
files:
Programs/_testembed.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -41,7 +41,7 @@
#endif
int i, j;
- for (i=0; i<3; i++) {
+ for (i=0; i<15; i++) {
printf("--- Pass %d ---\n", i);
_testembed_Py_Initialize();
mainstate = PyThreadState_Get();
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list