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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
f78e64cb
Commit
f78e64cb
authored
Mar 28, 2009
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debug flag to not intercept pipeline exceptions
parent
35a90d1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Cython/Compiler/DebugFlags.py
Cython/Compiler/DebugFlags.py
+3
-0
Cython/Compiler/Visitor.py
Cython/Compiler/Visitor.py
+3
-0
No files found.
Cython/Compiler/DebugFlags.py
View file @
f78e64cb
...
...
@@ -8,3 +8,6 @@ debug_temp_code_comments = 0
# Write a call trace of the code generation phase into the C code
debug_trace_code_generation
=
0
# Do not replace exceptions with user-friendly error messages
debug_no_exception_intercept
=
0
Cython/Compiler/Visitor.py
View file @
f78e64cb
...
...
@@ -7,6 +7,7 @@ import Nodes
import
ExprNodes
import
Naming
import
Errors
import
DebugFlags
from
StringEncoding
import
EncodedString
class
BasicVisitor
(
object
):
...
...
@@ -151,6 +152,8 @@ class TreeVisitor(BasicVisitor):
raise
except
Exception
,
e
:
import
sys
if
DebugFlags
.
debug_no_exception_intercept
:
raise
trace
=
[
''
]
for
parent
,
attribute
,
index
in
self
.
access_path
:
node
=
getattr
(
parent
,
attribute
)
...
...
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