summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorStanisław Skonieczny <stanislaw.skonieczny@gmail.com>2021-09-07 17:55:20 (GMT)
committerGitHub <noreply@github.com>2021-09-07 17:55:20 (GMT)
commit9dc363ee7cf2eb6ff374fbf7bbeb0b333f4afb8f (patch)
tree53bbca979f651c59c3dbe080b185db5fa846b82c /Misc
parent750368cbcd20393026f3bf695195f1a2cba490b5 (diff)
downloadcpython-9dc363ee7cf2eb6ff374fbf7bbeb0b333f4afb8f.zip
cpython-9dc363ee7cf2eb6ff374fbf7bbeb0b333f4afb8f.tar.gz
cpython-9dc363ee7cf2eb6ff374fbf7bbeb0b333f4afb8f.tar.bz2
bpo-45012: Release GIL around stat in os.scandir (GH-28085)
Releasing GIL allows other threads to continue its work when os.scandir is fetching DirEntry.stat info from file system.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-08-31-11-09-52.bpo-45012.ueeOcx.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 481e46d..23c92ab 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1645,6 +1645,7 @@ J. Sipprell
Ngalim Siregar
Kragen Sitaker
Kaartic Sivaraam
+Stanisław Skonieczny
Roman Skurikhin
Ville Skyttä
Michael Sloan
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-08-31-11-09-52.bpo-45012.ueeOcx.rst b/Misc/NEWS.d/next/Core and Builtins/2021-08-31-11-09-52.bpo-45012.ueeOcx.rst
new file mode 100644
index 0000000..91cb3a9
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-08-31-11-09-52.bpo-45012.ueeOcx.rst
@@ -0,0 +1,2 @@
+In :mod:`posix`, release GIL during ``stat()``, ``lstat()``, and
+``fstatat()`` syscalls made by :func:`os.DirEntry.stat`. Patch by Stanisław Skonieczny.