def visit_WithStatNode(self, node):
# TODO: Cleanup badly needed
TemplateTransform.temp_name_counter += 1
- handle = EncodedString("__tmpvar_%d" % TemplateTransform.temp_name_counter)
+ handle = "__tmpvar_%d" % TemplateTransform.temp_name_counter
self.visitchildren(node, ['body'])
excinfo_temp = NameNode(node.pos, name=handle)#TempHandle(Builtin.tuple_type)
import Parsing
import Main
import UtilNodes
-import StringEncoding
"""
Support for parsing strings into code trees.
temphandles = []
for temp in temps:
TemplateTransform.temp_name_counter += 1
- handle = StringEncoding.EncodedString("__tmpvar_%d" % TemplateTransform.temp_name_counter)
+ handle = "__tmpvar_%d" % TemplateTransform.temp_name_counter
# handle = UtilNodes.TempHandle(PyrexTypes.py_object_type)
tempmap[temp] = handle
# temphandles.append(handle)