Debian Codegraph @

pypy/doc/config/index.rst

raw ◀ ▶
1 Debian patch touch this file
1 ==============================
2 Configuration Options for PyPy
3 ==============================
4
5 This directory contains documentation for the many `configuration`_
6 options that can be used to affect PyPy's behaviour. There are two
7 main classes of option, `object space options`_ and `translation
8 options`_.
9
10 There are two main entry points that accept options: ``py.py``, which
11 implements Python on top of another Python interpreter and accepts all
12 the `object space options`_:
13
14 .. parsed-literal::
15
16 ./py.py <`objspace options`_>
17
18 and the ``rpython/bin/rpython`` translation entry
19 point which takes arguments of this form:
20
21 .. parsed-literal::
22
23 ./rpython/bin/rpython <`translation options`_> <target>
24
25 For the common case of ``<target>`` being ``targetpypystandalone.py``,
26 you can then pass the `object space options`_ after
27 ``targetpypystandalone.py``, i.e. like this:
28
29 .. parsed-literal::
30
31 ./rpython/bin/rpython <`translation options`_> targetpypystandalone.py <`objspace options`_>
32
33 There is an `overview`_ of all command line arguments that can be
34 passed in either position.
35
36 Many of the more interesting object space options enable optimizations,
37 which are described in `Standard Interpreter Optimizations`_, or allow
38 the creation of objects that can barely be imagined in CPython, which
39 are documented in `What PyPy can do for your objects`_.
40
41 The following diagram gives some hints about which PyPy features work together
42 with which other PyPy features:
43
44 .. image:: ../image/compat-matrix.png
45
46 .. _`configuration`: ../configuration.html
47 .. _`objspace options`: commandline.html#objspace
48 .. _`object space options`: commandline.html#objspace
49 .. _`translation options`: commandline.html#translation
50 .. _`overview`: commandline.html
51 .. _`Standard Interpreter Optimizations`: ../interpreter-optimizations.html
52 .. _`What PyPy can do for your objects`: ../objspace-proxies.html
53
54
•55 .. note::
56
•57 Parts of this document are not included in the Debian package.
58 See the missing sections `online`_.
59
60 .. _`online`: https://doc.pypy.org/en/latest/config/index.html