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
575a4509
Commit
575a4509
authored
Mar 15, 2009
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make code generation tracing an official debug feature, disable all debug features by default
parent
c91137ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
Cython/Compiler/DebugFlags.py
Cython/Compiler/DebugFlags.py
+5
-1
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+2
-2
No files found.
Cython/Compiler/DebugFlags.py
View file @
575a4509
...
...
@@ -2,5 +2,9 @@ debug_disposal_code = 0
debug_temp_alloc
=
0
debug_coercion
=
0
debug_temp_code_comments
=
1
# Write comments into the C code that show where temporary variables
# are allocated and released
debug_temp_code_comments
=
0
# Write a call trace of the code generation phase into the C code
debug_trace_code_generation
=
0
Cython/Compiler/Nodes.py
View file @
575a4509
...
...
@@ -116,8 +116,8 @@ class Node(object):
# is_name boolean Is a NameNode
# is_literal boolean Is a ConstNode
# Uncomment this for debugging.
#
__metaclass__ = VerboseCodeWriter
if
DebugFlags
.
debug_trace_code_generation
:
__metaclass__
=
VerboseCodeWriter
is_name
=
0
is_literal
=
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