Commit 15d09f50 authored by Stefan Behnel's avatar Stefan Behnel

add safety fix for Python globals in debug writer

parent ddca27a6
......@@ -2891,6 +2891,9 @@ class DebugTransform(CythonTransform):
def serialize_local_variables(self, entries):
for entry in entries.values():
if not entry.cname:
# not a local variable
continue
if entry.type.is_pyobject:
vartype = 'PythonObject'
else:
......
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