[pypy-svn] r15588 - pypy/dist/pypy/translator/goal
hpk at codespeak.net
hpk at codespeak.net
Thu Aug 4 09:55:01 CEST 2005
Author: hpk
Date: Thu Aug 4 09:55:00 2005
New Revision: 15588
Modified:
pypy/dist/pypy/translator/goal/app_example.py
Log:
changed app_example.py to do 'import code ; code.interact()'
basically.
Modified: pypy/dist/pypy/translator/goal/app_example.py
==============================================================================
--- pypy/dist/pypy/translator/goal/app_example.py (original)
+++ pypy/dist/pypy/translator/goal/app_example.py Thu Aug 4 09:55:00 2005
@@ -1,3 +1,7 @@
-print '--- beginning of app_example.py ---'
+print '--- beginning of PyPy run of app_example.py ---'
print 6*7
-print '--- end of app_example.py ---'
+print "OK, we managed to print a good number, now let's try 'import code'"
+print "(this will last a while, because compiling happens at app-level)"
+import code
+print "fine, we managed to import 'code', now let's run code.interact()"
+code.interact()
More information about the Pypy-commit
mailing list