comparison Python/pythonrun.c @ 2612:ca6b60d4ea90 legacy-trunk

fix dusty debugging macros
author Guido van Rossum <guido@python.org>
date Wed, 29 Mar 1995 16:57:48 +0000
parents 16ea57c38c4f
children ed30bca184bb
comparison
equal deleted inserted replaced
2611:01687ce43708 2612:ca6b60d4ea90
153 XDECREF(v); 153 XDECREF(v);
154 } 154 }
155 for (;;) { 155 for (;;) {
156 ret = run_tty_1(fp, filename); 156 ret = run_tty_1(fp, filename);
157 #ifdef REF_DEBUG 157 #ifdef REF_DEBUG
158 fprintf(stderr, "[%ld refs]\n", ref_total); 158 fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
159 #endif 159 #endif
160 if (ret == E_EOF) 160 if (ret == E_EOF)
161 return 0; 161 return 0;
162 /* 162 /*
163 if (ret == E_NOMEM) 163 if (ret == E_NOMEM)
662 doneimport(); 662 doneimport();
663 663
664 err_clear(); 664 err_clear();
665 665
666 #ifdef REF_DEBUG 666 #ifdef REF_DEBUG
667 fprintf(stderr, "[%ld refs]\n", ref_total); 667 fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
668 #endif 668 #endif
669 669
670 #ifdef TRACE_REFS 670 #ifdef TRACE_REFS
671 if (askyesno("Print left references?")) { 671 if (askyesno("Print left references?")) {
672 printrefs(stderr); 672 printrefs(stderr);