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
69d9eb9f
Commit
69d9eb9f
authored
Nov 10, 1994
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace abort() calls by fatal()
parent
363ac7d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
Python/ceval.c
Python/ceval.c
+6
-14
No files found.
Python/ceval.c
View file @
69d9eb9f
...
...
@@ -1456,12 +1456,8 @@ eval_code(co, globals, locals, owner, arg)
}
}
else
{
if
(
err_occurred
())
{
fprintf
(
stderr
,
"XXX undetected error
\n
"
);
abort
();
/* NOTREACHED */
why
=
WHY_EXCEPTION
;
}
if
(
err_occurred
())
fatal
(
"XXX undetected error"
);
}
#endif
...
...
@@ -2058,10 +2054,8 @@ call_object(func, arg)
else
result
=
call_builtin
(
func
,
arg
);
if
(
result
==
NULL
&&
!
err_occurred
())
{
fprintf
(
stderr
,
"null result without error in call_object
\n
"
);
abort
();
}
if
(
result
==
NULL
&&
!
err_occurred
())
fatal
(
"null result without error in call_object"
);
return
result
;
}
...
...
@@ -2211,10 +2205,8 @@ call_function(func, arg)
XDECREF
(
newarg
);
return
NULL
;
}
if
(
!
is_codeobject
(
co
))
{
fprintf
(
stderr
,
"XXX Bad code
\n
"
);
abort
();
}
if
(
!
is_codeobject
(
co
))
fatal
(
"XXX Bad code"
);
newlocals
=
newdictobject
();
if
(
newlocals
==
NULL
)
{
XDECREF
(
newarg
);
...
...
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