[pypy-svn] rev 2594 - pypy/trunk/doc/devel

pmaupin at codespeak.net pmaupin at codespeak.net
Fri Dec 19 17:56:01 CET 2003


Author: pmaupin
Date: Fri Dec 19 17:56:00 2003
New Revision: 2594

Modified:
   pypy/trunk/doc/devel/howtopypy.txt
Log:
Minor cleanup

Modified: pypy/trunk/doc/devel/howtopypy.txt
==============================================================================
--- pypy/trunk/doc/devel/howtopypy.txt	(original)
+++ pypy/trunk/doc/devel/howtopypy.txt	Fri Dec 19 17:56:00 2003
@@ -20,10 +20,10 @@
         svn co http://codespeak.net/svn/pypy/trunk/doc
 
    
-3. To start interpreting Python with PyPy::
+3. To start interpreting Python with PyPy, use Python 2.3 or greater::
 
         cd src/pypy/interpreter
-        python23 py.py -S
+        python py.py -S
 
    After a few seconds, you should be at the PyPy prompt, which is
    the same as the Python prompt, but with an extra ">".
@@ -39,26 +39,27 @@
    worth waiting for, but a few are fun to run::
    
         >>>> import pystone
-        >>>> pystone.main(2)
+        >>>> pystone.main(10)
 
    Note that this is a slightly modified version of pystone -- the
    original version does not accept the parameter to main().  The
    parameter is the number of loops to run through the test, and the
-   default is 50000, which is far too many to run this year.
+   default is 50000, which is far too many to run in a reasonable time
+   on the current PyPy implementation.
 
 
 5. The PyPy interpreter command line options are listed by typing::
 
-        python23 py.py --help
+        python py.py --help
 
    As an example of using PyPy from the command line, you could type::
 
-        python23 py.py -S -c "import pystone; pystone.main(2)
+        python py.py -S -c "import pystone; pystone.main(10)"
 
    Alternatively, as with regular Python, you can simply give a
    script name on the command line::
 
-        python23 py.py -S ../appspace/pystone.py
+        python py.py -S ../appspace/pystone.py
 
    (Note that this will run forever.)
 
@@ -68,24 +69,24 @@
    To run all the unit tests::
 
         cd src/pypy
-        python23 test_all.py -S
+        python test_all.py -S
 
    Alternatively, subtests may be run by going to the correct subdirectory
    and running them individually::
 
         cd src/pypy/module/test
-        python23 test_builtin.py -S
+        python test_builtin.py -S
 
    Finally, there are some more advanced tests (which are derived from
    some of the standard CPython tests).  These are not part of the unit
    tests, because they take longer than the standard unit tests::
 
         cd src/pypy/interpreter
-        python23 py.py -S -c "import builtin_types_test"
+        python py.py -S -c "import builtin_types_test"
 
 
 7. To learn more about PyPy and its development process, read the documentation_
-   and the moin_, and consider subscribing to the `mailing lists`_ (or simply
+   and the wiki_, and consider subscribing to the `mailing lists`_ (or simply
    read the archives online) or communicating via irc.freenode.net:6667, channel #pypy.
 
 --------------------------------------------------------------------------------
@@ -95,4 +96,4 @@
 .. _object space:    http://codespeak.net/pypy/index.cgi?doc/objspace/objspace.html
 .. _mailing lists:   http://codespeak.net/pypy/index.cgi?lists
 .. _documentation:   http://codespeak.net/pypy/index.cgi?doc
-.. _moin:            http://codespeak.net/moin/pypy/moin.cgi/FrontPage?action=show
\ No newline at end of file
+.. _wiki:            http://codespeak.net/moin/pypy/moin.cgi/FrontPage?action=show
\ No newline at end of file


More information about the Pypy-commit mailing list