PEP 674: Sam's endorsment for the nogil section (#2175)
This commit is contained in:
parent
c6df2854f9
commit
ce2ed3eb88
|
@ -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
|
||||
-----------
|
||||
|
||||
|
|
Loading…
Reference in New Issue