[pypy-svn] r37718 - pypy/dist/pypy/lib/distributed

fijal at codespeak.net fijal at codespeak.net
Thu Feb 1 11:59:13 CET 2007


Author: fijal
Date: Thu Feb  1 11:59:12 2007
New Revision: 37718

Modified:
   pypy/dist/pypy/lib/distributed/protocol.py
Log:
Kill some dead code


Modified: pypy/dist/pypy/lib/distributed/protocol.py
==============================================================================
--- pypy/dist/pypy/lib/distributed/protocol.py	(original)
+++ pypy/dist/pypy/lib/distributed/protocol.py	Thu Feb  1 11:59:12 2007
@@ -363,13 +363,7 @@
 
 def test_env(exported_names):
     from stackless import channel, tasklet, run
-    # XXX: This is a hack, proper support for recursive type is needed
     inp, out = channel(), channel()
     remote_protocol = RemoteProtocol(inp.send, out.receive, exported_names)
     t = tasklet(remote_loop)(remote_protocol)
     return RemoteProtocol(out.send, inp.receive)
-
-#def bootstrap(gw):
-#    import py
-#    import sys
-#    return gw.remote_exec(py.code.Source(sys.modules[__name__], "remote_loop(channel.send, channel.receive)"))



More information about the Pypy-commit mailing list