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
d5b259c5
Commit
d5b259c5
authored
Dec 09, 2014
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A couple of DebugTransform fixes.
parent
31422c4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/ParseTreeTransforms.py
Cython/Compiler/ParseTreeTransforms.py
+1
-0
Cython/Debugger/DebugWriter.py
Cython/Debugger/DebugWriter.py
+1
-1
No files found.
Cython/Compiler/ParseTreeTransforms.py
View file @
d5b259c5
...
@@ -2937,6 +2937,7 @@ class DebugTransform(CythonTransform):
...
@@ -2937,6 +2937,7 @@ class DebugTransform(CythonTransform):
def
visit_NameNode
(
self
,
node
):
def
visit_NameNode
(
self
,
node
):
if
(
self
.
register_stepinto
and
if
(
self
.
register_stepinto
and
node
.
type
is
not
None
and
node
.
type
.
is_cfunction
and
node
.
type
.
is_cfunction
and
getattr
(
node
,
'is_called'
,
False
)
and
getattr
(
node
,
'is_called'
,
False
)
and
node
.
entry
.
func_cname
is
not
None
):
node
.
entry
.
func_cname
is
not
None
):
...
...
Cython/Debugger/DebugWriter.py
View file @
d5b259c5
...
@@ -42,7 +42,7 @@ class CythonDebugWriter(object):
...
@@ -42,7 +42,7 @@ class CythonDebugWriter(object):
if
etree
is
None
:
if
etree
is
None
:
raise
Errors
.
NoElementTreeInstalledException
()
raise
Errors
.
NoElementTreeInstalledException
()
self
.
output_dir
=
os
.
path
.
join
(
output_dir
,
'cython_debug'
)
self
.
output_dir
=
os
.
path
.
join
(
output_dir
or
os
.
curdir
,
'cython_debug'
)
self
.
tb
=
etree
.
TreeBuilder
()
self
.
tb
=
etree
.
TreeBuilder
()
# set by Cython.Compiler.ParseTreeTransforms.DebugTransform
# set by Cython.Compiler.ParseTreeTransforms.DebugTransform
self
.
module_name
=
None
self
.
module_name
=
None
...
...
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