Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
e0fdd04e
Commit
e0fdd04e
authored
Mar 11, 2012
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PyPy build fix
--HG-- extra : rebase_source : 43fb0224114142a1f34e2c9ee36a3f8513adb22e
parent
6b523ed3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Cython/Utility/Exceptions.c
Cython/Utility/Exceptions.c
+4
-4
No files found.
Cython/Utility/Exceptions.c
View file @
e0fdd04e
...
...
@@ -236,14 +236,14 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb)
tstate
->
exc_type
=
local_type
;
tstate
->
exc_value
=
local_value
;
tstate
->
exc_traceback
=
local_tb
;
#else
PyErr_SetExcInfo
(
local_type
,
local_value
,
local_tb
);
#endif
/* Make sure tstate is in a consistent state when we XDECREF
these objects (
X
DECREF may run arbitrary code). */
these objects (DECREF may run arbitrary code). */
Py_XDECREF
(
tmp_type
);
Py_XDECREF
(
tmp_value
);
Py_XDECREF
(
tmp_tb
);
#else
PyErr_SetExcInfo
(
local_type
,
local_value
,
local_tb
);
#endif
return
0
;
bad:
*
type
=
0
;
...
...
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