Skip to content

Commit

Permalink
PEP 683: Mark Final (#3824)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <[email protected]>
  • Loading branch information
ncoghlan and hugovk authored Jun 12, 2024
1 parent 1a199b5 commit 764f563
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions peps/pep-0683.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/>`__,
Expand All @@ -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
========
Expand Down Expand Up @@ -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:

0 comments on commit 764f563

Please sign in to comment.