Alexander Hesse avatar Alexander Hesse committed 5770ebe

Fixed a few missing py.py renames

Comments (0)

Files changed (8)

pypy/bin/pyinteractive.py

 
 """Main entry point into the PyPy interpreter.  For a list of options, type
 
-      py.py --help
+      pyinteractive.py --help
 
 """
 
 from pypy.config import pypyoption
 
 
-cmdline_optiondescr = OptionDescription("interactive", "the options of py.py", [
+cmdline_optiondescr = OptionDescription("interactive", "the options of pyinteractive.py", [
     BoolOption("verbose", "show verbose interpreter-level traceback",
                default=os.getenv("PYPY_TB"), cmdline="-v"),
     BoolOption("interactive", "inspect interactively after running script",
 
 if __name__ == '__main__':
     if hasattr(sys, 'setrecursionlimit'):
-        # for running "python -i py.py -Si -- py.py -Si" 
+        # for running "python -i pyinteractive.py -Si -- py.py -Si" 
         sys.setrecursionlimit(3000)
     sys.exit(main_(sys.argv))

pypy/doc/getting-started-dev.rst

 
 If you start an untranslated Python interpreter via::
 
-    python pypy/bin/py.py
+    python pypy/bin/pyinteractive.py
 
 If you press
 <Ctrl-C> on the console you enter the interpreter-level console, a

pypy/doc/getting-started-python.rst

 most code will be fine.  However, the ``sys.prefix`` will be unset
 and some existing libraries assume that this is never the case.
 
-.. _`py.py interpreter`:
+.. _`pyinteractive.py interpreter`:
 
 Running the Python Interpreter Without Translation
 ---------------------------------------------------
 
-The py.py interpreter
+The pyinteractive.py interpreter
 +++++++++++++++++++++
 
 To start interpreting Python with PyPy, install a C compiler that is
 supported by distutils and use Python 2.5 or greater to run PyPy::
 
     cd pypy
-    python bin/py.py
+    python bin/pyinteractive.py
 
 After a few seconds (remember: this is running on top of CPython), 
 you should be at the PyPy prompt, which is the same as the Python 
 PyPy version (i.e. when PyPy's interpreter itself is being interpreted 
 by CPython).
 
-py.py options
+pyinteractive.py options
 +++++++++++++
 
 To list the PyPy interpreter command line options, type::
 
     cd pypy
-    python bin/py.py --help
+    python bin/pyinteractive.py --help
 
-py.py supports most of the options that CPython supports too (in addition to a
-large amount of options that can be used to customize py.py).
+pyinteractive.py supports most of the options that CPython supports too (in addition to a
+large amount of options that can be used to customize pyinteractive.py).
 As an example of using PyPy from the command line, you could type::
 
-    python py.py -c "from test import pystone; pystone.main(10)"
+    python pyinteractive.py -c "from test import pystone; pystone.main(10)"
 
 Alternatively, as with regular Python, you can simply give a
 script name on the command line::
 
-    python py.py ../../lib-python/2.7/test/pystone.py 10
+    python pyinteractive.py ../../lib-python/2.7/test/pystone.py 10
 
 See our  `configuration sections`_ for details about what all the commandline
 options do.

pypy/interpreter/test/test_zpy.py

 import pypy
 import subprocess
 
-pypypath = py.path.local(pypy.__file__).dirpath("bin", "py.py")
+pypypath = py.path.local(pypy.__file__).dirpath("bin", "pyinteractive.py")
 
 def run(*args):
     argslist = map(str, args)

pypy/module/_minimal_curses/test/test_curses.py

         return child
 
     def spawn(self, argv):
-        py_py = py.path.local(pypydir).join('bin', 'py.py')
+        py_py = py.path.local(pypydir).join('bin', 'pyinteractive.py')
         return self._spawn(sys.executable, [str(py_py)] + argv)
 
     def setup_class(self):

pypy/module/posix/test/test_posix2.py

         return child
 
     def spawn(self, argv):
-        py_py = py.path.local(pypydir).join('bin', 'py.py')
+        py_py = py.path.local(pypydir).join('bin', 'pyinteractive.py')
         return self._spawn(sys.executable, [str(py_py)] + argv)
 
     def test_ttyname(self):

pypy/module/termios/test/test_termios.py

             import termios
         except ImportError:
             py.test.skip("termios not found")
-        py_py = py.path.local(pypydir).join('bin', 'py.py')
+        py_py = py.path.local(pypydir).join('bin', 'pyinteractive.py')
         assert py_py.check()
         cls.py_py = py_py
         cls.termios = termios

pypy/objspace/std/test/test_setobject.py

 in the stdlibs test/test_set.py which is located in lib-python
 go there and invoke::
 
-    ../../../pypy/bin/py.py test_set.py
+    ../../../pypy/bin/pyinteractive.py test_set.py
 
 This file just contains some basic tests that make sure, the implementation
 is not too wrong.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.