Commit 9bdfe330 authored by Mark Florisson's avatar Mark Florisson

Default 'is_called' attribute to False if not set in DebugTransform

parent 8b558d1a
......@@ -1554,7 +1554,9 @@ class DebugTransform(CythonTransform):
return node
def visit_NameNode(self, node):
if (self.register_stepinto and node.type.is_cfunction and node.is_called):
if (self.register_stepinto and
node.type.is_cfunction and
getattr(node, 'is_called', False)):
# don't check node.entry.in_cinclude, as 'cdef extern: ...'
# declared functions are not 'in_cinclude'.
# This means we will list called 'cdef' functions as
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment