Skip to content

Commit

Permalink
PEP 674: Sam's endorsment for the nogil section (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored Dec 2, 2021
1 parent c6df285 commit ce2ed3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pep-0674.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
-----------

Expand Down

0 comments on commit ce2ed3e

Please sign in to comment.