Commits

Shashank Bharadwaj committed 88b93d8

remove some debugging

  • Participants
  • Parent commits c7148de

Comments (0)

Files changed (1)

File fix-asm-via-cfg.patch

 +        mod new_node = (mod) new IRBuilder().visit(node);
 +//        Py.writeDebug(TAG, "Successfully built the IR\n" + IRPrinter.print(new_node));
 +        new_node = (mod) new StampTryCatch().visit(new_node);
-+        Py.writeDebug(TAG, "Tree after fully built\n" + IRPrinter.print(new_node));
++//        Py.writeDebug(TAG, "Tree after fully built\n" + IRPrinter.print(new_node));
 +        return super.compile(new_node, name, filename, linenumbers, printResults, cflags);
 +    }
 +
 new file mode 100644
 --- /dev/null
 +++ b/tmp/test.py
-@@ -0,0 +1,4 @@
-+g = (x**2 for x in range(10))
-+print g.next()
-+print g.next()
-+print g.next()
+@@ -0,0 +1,5 @@
++def foo():
++    s = compile('print "hi"', 'foo', 'single')
++    exec s
++    
++foo()
+\ No newline at end of file