Fix lists-in-blockquotes in 0xxx PEPs. Ref: #26914
This commit is contained in:
parent
4d8ea1d0fe
commit
af90430776
|
@ -1180,14 +1180,14 @@ Context.
|
|||
|
||||
These are methods that return useful information from the Context:
|
||||
|
||||
- ``Etiny()``: Minimum exponent considering precision.
|
||||
- ``Etiny()``: Minimum exponent considering precision. ::
|
||||
|
||||
>>> c.Emin
|
||||
-999999999
|
||||
>>> c.Etiny()
|
||||
-1000000007
|
||||
|
||||
- ``Etop()``: Maximum exponent considering precision.
|
||||
- ``Etop()``: Maximum exponent considering precision. ::
|
||||
|
||||
>>> c.Emax
|
||||
999999999
|
||||
|
|
|
@ -317,6 +317,7 @@ Copyright
|
|||
This document has been placed in the public domain.
|
||||
|
||||
|
||||
|
||||
..
|
||||
Local Variables:
|
||||
mode: indented-text
|
||||
|
@ -325,4 +326,3 @@ This document has been placed in the public domain.
|
|||
fill-column: 70
|
||||
coding: utf-8
|
||||
End:
|
||||
|
||||
|
|
|
@ -469,6 +469,7 @@ Copyright
|
|||
This document has been placed in the public domain.
|
||||
|
||||
|
||||
|
||||
..
|
||||
Local Variables:
|
||||
mode: indented-text
|
||||
|
|
|
@ -110,10 +110,12 @@ The fields have the following interpretations:
|
|||
- length: number of code points in the string (result of sq_length)
|
||||
- interned: interned-state (SSTATE_*) as in 3.2
|
||||
- kind: form of string
|
||||
|
||||
+ 00 => str is not initialized (data are in wstr)
|
||||
+ 01 => 1 byte (Latin-1)
|
||||
+ 10 => 2 byte (UCS-2)
|
||||
+ 11 => 4 byte (UCS-4);
|
||||
|
||||
- compact: the object uses one of the compact representations
|
||||
(implies ready)
|
||||
- ascii: the object uses the PyASCIIObject representation
|
||||
|
|
32
pep-0432.txt
32
pep-0432.txt
|
@ -175,32 +175,50 @@ be able to control the following aspects of the final interpreter state:
|
|||
* Whether or not to enable the import system (required by CPython's
|
||||
build process when freezing the importlib._bootstrap bytecode)
|
||||
* The "Where is Python located?" elements in the ``sys`` module:
|
||||
|
||||
* ``sys.executable``
|
||||
* ``sys.base_exec_prefix``
|
||||
* ``sys.base_prefix``
|
||||
* ``sys.exec_prefix``
|
||||
* ``sys.prefix``
|
||||
|
||||
* The path searched for imports from the filesystem (and other path hooks):
|
||||
|
||||
* ``sys.path``
|
||||
|
||||
* The command line arguments seen by the interpeter:
|
||||
|
||||
* ``sys.argv``
|
||||
|
||||
* The filesystem encoding used by:
|
||||
|
||||
* ``sys.getfsencoding``
|
||||
* ``os.fsencode``
|
||||
* ``os.fsdecode``
|
||||
|
||||
* The IO encoding (if any) and the buffering used by:
|
||||
|
||||
* ``sys.stdin``
|
||||
* ``sys.stdout``
|
||||
* ``sys.stderr``
|
||||
|
||||
* The initial warning system state:
|
||||
|
||||
* ``sys.warnoptions``
|
||||
|
||||
* Arbitrary extended options (e.g. to automatically enable ``faulthandler``):
|
||||
|
||||
* ``sys._xoptions``
|
||||
|
||||
* Whether or not to implicitly cache bytecode files:
|
||||
|
||||
* ``sys.dont_write_bytecode``
|
||||
|
||||
* Whether or not to enforce correct case in filenames on case-insensitive
|
||||
platforms
|
||||
|
||||
* ``os.environ["PYTHONCASEOK"]``
|
||||
|
||||
* The other settings exposed to Python code in ``sys.flags``:
|
||||
|
||||
* ``debug`` (Enable debugging output in the pgen parser)
|
||||
|
@ -791,6 +809,7 @@ call will take whatever steps are needed to populate ``main_code``:
|
|||
``main_code``.
|
||||
|
||||
* For ``main_path``:
|
||||
|
||||
* if the supplied path is recognised as a valid ``sys.path`` entry, it
|
||||
is inserted as ``sys.path[0]``, ``main_module`` is set
|
||||
to ``__main__`` and processing continues as for ``main_module`` below.
|
||||
|
@ -800,6 +819,7 @@ call will take whatever steps are needed to populate ``main_code``:
|
|||
and ``__main__.__file__`` is set appropriately
|
||||
|
||||
* For ``main_module``:
|
||||
|
||||
* any parent package is imported
|
||||
* the loader for the module is determined
|
||||
* if the loader indicates the module is a package, add ``.__main__`` to
|
||||
|
@ -1222,26 +1242,38 @@ TBD: Cover the initialization of the following in more detail:
|
|||
|
||||
* Completely disabling the import system
|
||||
* The initial warning system state:
|
||||
|
||||
* ``sys.warnoptions``
|
||||
* (-W option, PYTHONWARNINGS)
|
||||
|
||||
* Arbitrary extended options (e.g. to automatically enable ``faulthandler``):
|
||||
|
||||
* ``sys._xoptions``
|
||||
* (-X option)
|
||||
|
||||
* The filesystem encoding used by:
|
||||
|
||||
* ``sys.getfsencoding``
|
||||
* ``os.fsencode``
|
||||
* ``os.fsdecode``
|
||||
|
||||
* The IO encoding and buffering used by:
|
||||
|
||||
* ``sys.stdin``
|
||||
* ``sys.stdout``
|
||||
* ``sys.stderr``
|
||||
* (-u option, PYTHONIOENCODING, PYTHONUNBUFFEREDIO)
|
||||
|
||||
* Whether or not to implicitly cache bytecode files:
|
||||
|
||||
* ``sys.dont_write_bytecode``
|
||||
* (-B option, PYTHONDONTWRITEBYTECODE)
|
||||
|
||||
* Whether or not to enforce correct case in filenames on case-insensitive
|
||||
platforms
|
||||
|
||||
* ``os.environ["PYTHONCASEOK"]``
|
||||
|
||||
* The other settings exposed to Python code in ``sys.flags``:
|
||||
|
||||
* ``debug`` (Enable debugging output in the pgen parser)
|
||||
|
|
15
pep-0433.txt
15
pep-0433.txt
|
@ -732,3 +732,18 @@ Footnotes
|
|||
has a descriptor smaller than 3, ``ValueError`` is raised.
|
||||
|
||||
|
||||
Copyright
|
||||
=========
|
||||
|
||||
This document has been placed in the public domain.
|
||||
|
||||
|
||||
|
||||
..
|
||||
Local Variables:
|
||||
mode: indented-text
|
||||
indent-tabs-mode: nil
|
||||
sentence-end-double-space: t
|
||||
fill-column: 70
|
||||
coding: utf-8
|
||||
End:
|
||||
|
|
Loading…
Reference in New Issue