[pypy-commit] pypy stacklet: Remove the debugging prints.
arigo
noreply at buildbot.pypy.org
Fri Aug 19 14:53:31 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch: stacklet
Changeset: r46636:fdd0e83501af
Date: 2011-08-19 14:57 +0200
http://bitbucket.org/pypy/pypy/changeset/fdd0e83501af/
Log: Remove the debugging prints.
diff --git a/lib_pypy/greenlet.py b/lib_pypy/greenlet.py
--- a/lib_pypy/greenlet.py
+++ b/lib_pypy/greenlet.py
@@ -60,22 +60,17 @@
pass
else:
# enter from main to target
- print 'main -> target =', target
args = _continulet.switch(target, args)
else:
if target.__main:
# leave to go to target=main
- print 'current =', current, '-> main'
args = _continulet.switch(current, args)
else:
# switch from non-main to non-main
- print 'current =', current, '-> target =', target
args = _continulet.switch(current, args, to=target)
finally:
_tls.current = current
- print 'current is now', current
#
- print 'got args =', args
if len(args) == 1:
return args[0]
else:
@@ -129,7 +124,6 @@
_tls.current = gmain
def _greenlet_start(greenlet, args):
- print 'starting', greenlet, 'with args =', args
_tls.current = greenlet
res = greenlet.run(*args)
return (res,)
More information about the pypy-commit
mailing list