PEP 674: Sam's endorsment for the nogil section (#2175)

This commit is contained in:
Victor Stinner 2021-12-02 17:57:02 +01:00 committed by GitHub
parent c6df2854f9
commit ce2ed3eb88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,7 @@ implementations can make their C API implementation less efficient.
CPython nogil fork
------------------
Sam Gross forked Python 3.8 to remove the GIL: the `nogil branch
Sam Gross forked Python 3.9 to remove the GIL: the `nogil branch
<https://github.com/colesbury/nogil/>`_. This fork has no
``PyObject.ob_refcnt`` member, but a more elaborated implementation for
reference counting, and so the ``Py_REFCNT(obj) = new_refcnt;`` code
@ -75,6 +75,8 @@ a Python optimization blocked indirectly by the C API.
This issue was already fixed in Python 3.10: the ``Py_REFCNT()`` macro
has been already modified to disallow using it as a l-value.
These statements are endorsed by Sam Gross (nogil developer).
HPy project
-----------