Disable random annotations for now.
authorRobert Bradshaw <robertwb@math.washington.edu>
Mon, 12 Apr 2010 17:07:28 +0000 (10:07 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Mon, 12 Apr 2010 17:07:28 +0000 (10:07 -0700)
Cython/Compiler/Annotate.py

index 58b10aa1f4bcc3e22d364a55994b4fd4f2311f7b..4a073c97efbb68f5aac7224552793fd4335cf208 100644 (file)
@@ -64,15 +64,16 @@ class AnnotationCCodeWriter(CCodeWriter):
             lines[k] = line
         f.close()
         all = []
-        for pos, item in self.annotations:
-            if pos[0].filename == source_filename:
-                start = item.start()
-                size, end = item.end()
-                if size:
-                    all.append((pos, start))
-                    all.append(((source_filename, pos[1], pos[2]+size), end))
-                else:
-                    all.append((pos, start+end))
+        if False:
+            for pos, item in self.annotations:
+                if pos[0].filename == source_filename:
+                    start = item.start()
+                    size, end = item.end()
+                    if size:
+                        all.append((pos, start))
+                        all.append(((source_filename, pos[1], pos[2]+size), end))
+                    else:
+                        all.append((pos, start+end))
                 
         all.sort()
         all.reverse()