Commit 3122b195 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Merge of #271 bugfix

parents 44ce6ec0 326f530d
......@@ -1652,7 +1652,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.put_goto(code.return_label)
code.put_label(code.error_label)
# TODO: Should new temps be freed here?
for cname, type in code.funcstate.all_managed_temps():
code.put_xdecref(cname, type)
code.putln('__Pyx_AddTraceback("%s");' % env.qualified_name)
env.use_utility_code(Nodes.traceback_utility_code)
code.put_decref_clear(env.module_cname, py_object_type, nanny=False)
......
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