Skip to content

PEP 630: change to Active and link to the new xxlimited module #1736

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 1 commit into from
Dec 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions pep-0630.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PEP: 630
Title: Isolating Extension Modules
Author: Petr Viktorin <[email protected]>
Discussions-To: [email protected]
Status: Draft
Status: Active
Type: Informational
Content-Type: text/x-rst
Created: 25-Aug-2020
Expand Down Expand Up @@ -140,10 +140,8 @@ write such a module, or to convert an existing module.
Note that support is a work in progress; the API for some features your
module needs might not yet be ready.

A full example module is currently available in `a fork on
GitHub <https://github.com/encukou/cpython/blob/xxlimited-facelift/Modules/xxlimited.c>`__.

.. XXX: Later, it should be in the CPython source tree.
A full example module is available as
`xxlimited <https://github.com/python/cpython/blob/master/Modules/xxlimited.c>`__.

This section assumes that “*you*” are an extension module author.

Expand Down Expand Up @@ -254,12 +252,9 @@ must hold references to those objects and implement module-level hooks
require some work and make the code longer; this is the price for
modules which can be unloaded cleanly.

An example of a module with per-module state is currently available in
`a fork on GitHub <https://github.com/encukou/cpython/blob/xxlimited-facelift/Modules/xxlimited.c>`__;
later it should be in the CPython source tree, with module
initialization is at the bottom of the file.

.. XXX: Later, it should be in the CPython source tree.
An example of a module with per-module state is currently available as
`xxlimited <https://github.com/python/cpython/blob/master/Modules/xxlimited.c>`__;
example module initialization shown at the bottom of the file.


Opt-Out: Limiting to One Module Object per Process
Expand Down