Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 458b1b8

Browse files
authored
PEP 630: change to Active and link to the new xxlimited module (GH-1736)
bpo-42111 is resolved, which closes the remaining "XXX" note in the PEP. It's ready for Active status.
1 parent 6653287 commit 458b1b8

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

pep-0630.rst

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PEP: 630
22
Title: Isolating Extension Modules
33
Author: Petr Viktorin <[email protected]>
44
Discussions-To: [email protected]
5-
Status: Draft
5+
Status: Active
66
Type: Informational
77
Content-Type: text/x-rst
88
Created: 25-Aug-2020
@@ -140,10 +140,8 @@ write such a module, or to convert an existing module.
140140
Note that support is a work in progress; the API for some features your
141141
module needs might not yet be ready.
142142

143-
A full example module is currently available in `a fork on
144-
GitHub <https://github.com/encukou/cpython/blob/xxlimited-facelift/Modules/xxlimited.c>`__.
145-
146-
.. XXX: Later, it should be in the CPython source tree.
143+
A full example module is available as
144+
`xxlimited <https://github.com/python/cpython/blob/master/Modules/xxlimited.c>`__.
147145

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

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

257-
An example of a module with per-module state is currently available in
258-
`a fork on GitHub <https://github.com/encukou/cpython/blob/xxlimited-facelift/Modules/xxlimited.c>`__;
259-
later it should be in the CPython source tree, with module
260-
initialization is at the bottom of the file.
261-
262-
.. XXX: Later, it should be in the CPython source tree.
255+
An example of a module with per-module state is currently available as
256+
`xxlimited <https://github.com/python/cpython/blob/master/Modules/xxlimited.c>`__;
257+
example module initialization shown at the bottom of the file.
263258

264259

265260
Opt-Out: Limiting to One Module Object per Process

0 commit comments

Comments
 (0)