[pypy-svn] r18501 - pypy/dist/pypy/translator/goal

arigo at codespeak.net arigo at codespeak.net
Wed Oct 12 18:53:48 CEST 2005


Author: arigo
Date: Wed Oct 12 18:53:47 2005
New Revision: 18501

Modified:
   pypy/dist/pypy/translator/goal/targetnopstandalone.py
Log:
Made targetnopstandalone trivial again -- printing hello world.
Please make a copy of it for testing; this one is nice to have as
a starting point for other experiments.


Modified: pypy/dist/pypy/translator/goal/targetnopstandalone.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetnopstandalone.py	(original)
+++ pypy/dist/pypy/translator/goal/targetnopstandalone.py	Wed Oct 12 18:53:47 2005
@@ -1,5 +1,4 @@
 import os, sys
-from pypy.translator.test.snippet import sieve_of_eratosthenes as soe
 
 def debug(msg): 
     os.write(2, "debug: " + msg + '\n')
@@ -8,8 +7,8 @@
 # __________  Entry point  __________
 
 def entry_point(argv):
-    count = soe()
-    return count
+    debug("hello world")
+    return 0
 
 # _____ Define and setup target ___
 



More information about the Pypy-commit mailing list