diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-02 12:03:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 12:03:25 (GMT) |
commit | 59d3dce69b0a4f6ee17578ae68037cc7ae90936f (patch) | |
tree | 72eaa3932f9ff7fc0a13752a1fe706666c6e87dd /Doc/whatsnew | |
parent | 85339f5c220a5e79c47c3a33c93f1dca5c59c52e (diff) | |
download | cpython-59d3dce69b0a4f6ee17578ae68037cc7ae90936f.zip cpython-59d3dce69b0a4f6ee17578ae68037cc7ae90936f.tar.gz cpython-59d3dce69b0a4f6ee17578ae68037cc7ae90936f.tar.bz2 |
bpo-40839: PyDict_GetItem() requires the GIL (GH-20580)
Calling PyDict_GetItem() without GIL held had been allowed for
historical reason. It is no longer allowed.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.10.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 95c5aa7..0b65647 100644 --- a/Doc/whatsnew/3.10.rst +++ b/Doc/whatsnew/3.10.rst @@ -148,5 +148,9 @@ Porting to Python 3.10 see :c:func:`Py_SET_SIZE()` (available since Python 3.9). (Contributed by Victor Stinner in :issue:`39573`.) +* Calling :c:func:`PyDict_GetItem` without :term:`GIL` held had been allowed + for historical reason. It is no longer allowed. + (Contributed by Victor Stinner in :issue:`40839`.) + Removed ------- |