-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Hugo van Kemenade <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,8 @@ PEP: 683 | |
Title: Immortal Objects, Using a Fixed Refcount | ||
Author: Eric Snow <[email protected]>, Eddie Elizondo <[email protected]> | ||
Discussions-To: https://discuss.python.org/t/18183 | ||
Status: Accepted | ||
Status: Final | ||
Type: Standards Track | ||
Content-Type: text/x-rst | ||
Created: 10-Feb-2022 | ||
Python-Version: 3.12 | ||
Post-History: `16-Feb-2022 <https://mail.python.org/archives/list/[email protected]/thread/TPLEYDCXFQ4AMTW6F6OQFINSIFYBRFCR/>`__, | ||
|
@@ -13,20 +12,18 @@ Post-History: `16-Feb-2022 <https://mail.python.org/archives/list/python-dev@pyt | |
`12-Aug-2022 <https://discuss.python.org/t/18183>`__, | ||
Resolution: https://discuss.python.org/t/18183/26 | ||
|
||
.. canonical-doc:: :term:`reference count` | ||
|
||
PEP Acceptance Conditions | ||
========================= | ||
|
||
The PEP was accepted with conditions: | ||
|
||
* we must apply the primary proposal | ||
in `Solutions for Accidental De-Immortalization`_ | ||
(reset the immortal refcount in ``tp_dealloc()``) | ||
* types without this may not be immortalized (in CPython's code) | ||
* the PEP must be updated with final benchmark results once | ||
the implementation is finalized | ||
* we will have one last round of discussion about those results at that point | ||
|
||
* the primary proposal in `Solutions for Accidental De-Immortalization`_ | ||
(reset the immortal refcount in ``tp_dealloc()``) was applied | ||
* types without this were not immortalized (in CPython's code) | ||
* the PEP was updated with final benchmark results once | ||
the implementation is finalized (confirming the change is worthwhile) | ||
|
||
Abstract | ||
======== | ||
|
@@ -904,14 +901,3 @@ Copyright | |
|
||
This document is placed in the public domain or under the | ||
CC0-1.0-Universal license, whichever is more permissive. | ||
|
||
|
||
|
||
.. | ||
Local Variables: | ||
mode: indented-text | ||
indent-tabs-mode: nil | ||
sentence-end-double-space: t | ||
fill-column: 70 | ||
coding: utf-8 | ||
End: |