Commit caf82802 authored by Stefan Behnel's avatar Stefan Behnel

fix another temp var name encoding problem - seems to fix ticket #536

parent 946330df
......@@ -863,7 +863,7 @@ class WithTransform(CythonTransform, SkipDeclarations):
def visit_WithStatNode(self, node):
# TODO: Cleanup badly needed
TemplateTransform.temp_name_counter += 1
handle = "__tmpvar_%d" % TemplateTransform.temp_name_counter
handle = EncodedString("__tmpvar_%d" % TemplateTransform.temp_name_counter)
self.visitchildren(node, ['body'])
excinfo_temp = NameNode(node.pos, name=handle)#TempHandle(Builtin.tuple_type)
......
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