8000 Updates for PEP 554. by ericsnowcurrently · Pull Request #419 · python/peps · GitHub
[go: up one dir, main page]

Skip to content

Updates for PEP 554. #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Sep 12, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

8000
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix internal links.
  • Loading branch information
ericsnowcurrently committed Sep 12, 2017
commit 1fa43acf4507dbdcd3563ee83d5c99391098ae6c
24 changes: 18 additions & 6 deletions pep-0554.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ Abstract

CPython has supported subinterpreters, with increasing levels of
support, since version 1.5. The feature has been available via the
C-API. [c-api]_ Subinterpreters operate in relative isolation from one
another (see ``Interpreter Isolation`` below), which provides the basis
for an alternative concurrency model.
C-API. [c-api]_ Subinterpreters operate in
`relative isolation from one another <Interpreter Isolation_>`_, which
provides the basis for an
`alternative concurrency model <Concurrency_>`_.

This proposal introduces the stdlib ``interpreters`` module. The module
will be provisional (see ``Provisional Status`` below). It exposes the
basic functionality of subinterpreters already provided by the C-API.
will be `provisional <Provisional Status_>`_. It exposes the basic
functionality of subinterpreters already provided by the C-API.


Proposal
Expand Down Expand Up @@ -252,7 +253,7 @@ will appeal to some Python users. That is the core value that the
* "stdlib support for subinterpreters adds extra burden
on C extension authors"

In the ``Interpreter Isolation`` section below we identify ways in
In the `Interpreter Isolation`_ section below we identify ways in
which isolation in CPython's subinterpreters is incomplete. Most
notable is extension modules that use C globals to store internal
state. PEP 3121 and PEP 489 provide a solution for most of the
Expand All @@ -278,6 +279,8 @@ which subinterpreters are worth it.
About Subinterpreters
=====================

.. isolation:

Interpreter Isolation
---------------------

Expand All @@ -299,12 +302,21 @@ Finally, some potential isolation is missing due to the current design
of CPython. This includes the GIL and memory management. Improvements
are currently going on to address gaps in this area.

.. concurrency:

Concurrency
-----------

TBD

Existing Usage
--------------

TBD


.. provisional:

Provisional Status
==================

Expand Down
0