[pypy-svn] r59457 - pypy/trunk/pypy/tool/algo
afa at codespeak.net
afa at codespeak.net
Mon Oct 27 23:35:21 CET 2008
Author: afa
Date: Mon Oct 27 23:35:19 2008
New Revision: 59457
Modified:
pypy/trunk/pypy/tool/algo/graphlib.py
Log:
Remove debug prints
Modified: pypy/trunk/pypy/tool/algo/graphlib.py
==============================================================================
--- pypy/trunk/pypy/tool/algo/graphlib.py (original)
+++ pypy/trunk/pypy/tool/algo/graphlib.py Mon Oct 27 23:35:19 2008
@@ -260,7 +260,7 @@
v_depths = compute_depths(roots, vertices, edges)
assert len(v_depths) == len(vertices) # ...so far. We remove
# from v_depths the vertices at which we choose to break cycles
- print '%d inital roots' % (len(roots,))
+ #print '%d inital roots' % (len(roots,))
progress = False
for root in roots:
if root in roots_finished:
@@ -269,7 +269,7 @@
if not cycles:
roots_finished.add(root)
continue
- print 'from root %r: %d cycles' % (root, len(cycles))
+ #print 'from root %r: %d cycles' % (root, len(cycles))
# compute the "depth" of each cycles: how far it goes from any root
allcycles = []
for cycle in cycles:
More information about the Pypy-commit
mailing list