summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2023-06-13 17:08:32 (GMT)
committerGitHub <noreply@github.com>2023-06-13 17:08:32 (GMT)
commitb97e14a806477af4225777d215ac38c0d9b845f0 (patch)
tree35eb71251371258874274f6eb73ab09fe849b460 /Misc
parentabfbab6415fb029e7dca19ecc8d29a13da37bf71 (diff)
downloadcpython-b97e14a806477af4225777d215ac38c0d9b845f0.zip
cpython-b97e14a806477af4225777d215ac38c0d9b845f0.tar.gz
cpython-b97e14a806477af4225777d215ac38c0d9b845f0.tar.bz2
gh-105603: Change the PyInterpreterConfig.own gil Field (gh-105620)
We are changing it to be more flexible that a strict bool can be for possible future expanded used cases.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2023-06-09-19-16-57.gh-issue-105603.-z6G22.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-06-09-19-16-57.gh-issue-105603.-z6G22.rst b/Misc/NEWS.d/next/C API/2023-06-09-19-16-57.gh-issue-105603.-z6G22.rst
new file mode 100644
index 0000000..cd3d9bc
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2023-06-09-19-16-57.gh-issue-105603.-z6G22.rst
@@ -0,0 +1,5 @@
+We've renamed the new (in 3.12) ``PyInterpreterConfig.own_gil`` to
+``PyInterpreterConfig.gil`` and changed the meaning of the value from "bool"
+to an integer with supported values of ``PyInterpreterConfig_DEFAULT_GIL``,
+``PyInterpreterConfig_SHARED_GIL``, and ``PyInterpreterConfig_OWN_GIL``. The
+default is "shared".