Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e255319b
Commit
e255319b
authored
May 22, 1996
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new names for debug macros. Don't include pythonrun.h.
parent
3bca3538
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
Python/pythonrun.c
Python/pythonrun.c
+5
-6
No files found.
Python/pythonrun.c
View file @
e255319b
...
@@ -37,7 +37,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -37,7 +37,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "compile.h"
#include "compile.h"
#include "eval.h"
#include "eval.h"
#include "ceval.h"
#include "ceval.h"
#include "pythonrun.h"
#include "import.h"
#include "import.h"
#include "marshal.h"
#include "marshal.h"
...
@@ -148,7 +147,7 @@ run_tty_loop(fp, filename)
...
@@ -148,7 +147,7 @@ run_tty_loop(fp, filename)
}
}
for
(;;)
{
for
(;;)
{
ret
=
run_tty_1
(
fp
,
filename
);
ret
=
run_tty_1
(
fp
,
filename
);
#ifdef REF_DEBUG
#ifdef
Py_
REF_DEBUG
fprintf
(
stderr
,
"[%ld refs]
\n
"
,
_Py_RefTotal
);
fprintf
(
stderr
,
"[%ld refs]
\n
"
,
_Py_RefTotal
);
#endif
#endif
if
(
ret
==
E_EOF
)
if
(
ret
==
E_EOF
)
...
@@ -653,15 +652,15 @@ goaway(sts)
...
@@ -653,15 +652,15 @@ goaway(sts)
err_clear
();
err_clear
();
#ifdef REF_DEBUG
#ifdef
Py_
REF_DEBUG
fprintf
(
stderr
,
"[%ld refs]
\n
"
,
_Py_RefTotal
);
fprintf
(
stderr
,
"[%ld refs]
\n
"
,
_Py_RefTotal
);
#endif
#endif
#ifdef TRACE_REFS
#ifdef
Py_
TRACE_REFS
if
(
askyesno
(
"Print left references?"
))
{
if
(
askyesno
(
"Print left references?"
))
{
printrefs
(
stderr
);
printrefs
(
stderr
);
}
}
#endif
/* TRACE_REFS */
#endif
/*
Py_
TRACE_REFS */
#ifdef macintosh
#ifdef macintosh
PyMac_Exit
(
sts
);
PyMac_Exit
(
sts
);
...
@@ -714,7 +713,7 @@ initsigs()
...
@@ -714,7 +713,7 @@ initsigs()
initintr
();
/* May imply initsignal() */
initintr
();
/* May imply initsignal() */
}
}
#ifdef TRACE_REFS
#ifdef
Py_
TRACE_REFS
/* Ask a yes/no question */
/* Ask a yes/no question */
int
int
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment