PEP 587: Minor fixes

This commit is contained in:
Victor Stinner 2019-06-03 00:23:46 +02:00
parent a26411994d
commit 48499b5ff4
1 changed files with 8 additions and 9 deletions

View File

@ -492,7 +492,7 @@ exceptions (error or exit) using ``PyStatus_Exception()`` and
directory.
* Python REPL doesn't import ``readline`` nor enable default readline
configuration on interactive prompts.
* Set ``use_environment`` and ``user_site_directory`` are set to 0.
* Set ``use_environment`` and ``user_site_directory`` to 0.
* ``legacy_windows_stdio`` (``int``, Windows only):
If non-zero, use ``io.FileIO`` instead of ``WindowsConsoleIO`` for
@ -773,7 +773,7 @@ inherit their value from ``prefix`` and ``exec_prefix`` respectively.
* Otherwise, prepends an empty string to ``sys.path``.
If ``site_import`` is non-zero, ``sys.path`` can be modified by the
``site`` module. If ``user_site_directory`` is non-zero the user's
``site`` module. If ``user_site_directory`` is non-zero and the user's
site-package directory exists, the ``site`` module appends the user's
site-package directory to ``sys.path``.
@ -1354,10 +1354,7 @@ Issues that will be fixed by this PEP, directly or indirectly:
* `bpo-19983 <https://bugs.python.org/issue19983>`_: "When interrupted
during startup, Python should not call abort() but exit()"
* `bpo-22213 <https://bugs.python.org/issue22213>`_: "Make pyvenv style
virtual environments easier to configure when embedding Python". This
PEP more or
* `bpo-22257 <https://bugs.python.org/issue22257>`_: "PEP 432: Redesign
the interpreter startup sequence"
virtual environments easier to configure when embedding Python".
* `bpo-29778 <https://bugs.python.org/issue29778>`_: "_Py_CheckPython3
uses uninitialized dllpath when embedder sets module path with
Py_SetPath"
@ -1368,13 +1365,13 @@ Issues that will be fixed by this PEP, directly or indirectly:
"Py_GetPath" does not work"
* `bpo-32573 <https://bugs.python.org/issue32573>`_: "All sys attributes
(.argv, ...) should exist in embedded environments".
* `bpo-33135 <https://bugs.python.org/issue33135>`_: "Define field
prefixes for the various config structs". The PEP now defines well
how warnings options are handled.
* `bpo-34725 <https://bugs.python.org/issue34725>`_:
"Py_GetProgramFullPath() odd behaviour in Windows"
* `bpo-36204 <https://bugs.python.org/issue36204>`_: "Deprecate calling
Py_Main() after Py_Initialize()? Add Py_InitializeFromArgv()?"
* `bpo-33135 <https://bugs.python.org/issue33135>`_: "Define field
prefixes for the various config structs". The PEP now defines well
how warnings options are handled.
Issues of the PEP implementation:
@ -1435,6 +1432,8 @@ Issues related to this PEP:
security issues"
* `bpo-18309 <https://bugs.python.org/issue18309>`_: "Make python
slightly more relocatable"
* `bpo-22257 <https://bugs.python.org/issue22257>`_: "PEP 432: Redesign
the interpreter startup sequence"
* `bpo-25631 <https://bugs.python.org/issue25631>`_: "Segmentation fault
with invalid Unicode command-line arguments in embedded Python"
* `bpo-26007 <https://bugs.python.org/issue26007>`_: "Support embedding