From 4dcea04aa3a6cce6b460bdf9d504f0ecd60243d8 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 9 Dec 2010 17:01:44 +0100 Subject: [PATCH] compile fix for Cython/Compiler/ParseTreeTransforms.py --- Cython/Compiler/ParseTreeTransforms.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index dbe49e02..ad3b390b 100644 --- a/Cython/Compiler/ParseTreeTransforms.py +++ b/Cython/Compiler/ParseTreeTransforms.py @@ -20,12 +20,6 @@ from Cython.Compiler.TreeFragment import TreeFragment, TemplateTransform from Cython.Compiler.StringEncoding import EncodedString from Cython.Compiler.Errors import error, warning, CompileError, InternalError - -try: - set -except NameError: - from sets import Set as set - import copy @@ -1590,7 +1584,7 @@ class DebugTransform(CythonTransform): def __init__(self, context, options, result): super(DebugTransform, self).__init__(context) - self.visited = set() + self.visited = cython.set() # our treebuilder and debug output writer # (see Cython.Debugger.debug_output.CythonDebugWriter) self.tb = self.context.gdb_debug_outputwriter -- 2.26.2