PEP 683: Mark Final (#3824)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Alyssa Coghlan 2024-06-13 04:00:45 +10:00 committed by GitHub
parent 1a199b5080
commit 764f563338
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 21 deletions

View File

@ -2,9 +2,8 @@ PEP: 683
Title: Immortal Objects, Using a Fixed Refcount
Author: Eric Snow <ericsnowcurrently@gmail.com>, Eddie Elizondo <eduardo.elizondorueda@gmail.com>
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/python-dev@python.org/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: