summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Windows
diff options
context:
space:
mode:
authorItai Steinherz <itaisteinherz@gmail.com>2022-05-02 23:19:13 (GMT)
committerGitHub <noreply@github.com>2022-05-02 23:19:13 (GMT)
commit39e6b8ae6a5b49bb23746fdcc354d148ff2d98e3 (patch)
tree0744e51c145b37baa6335749d890bd1efba5f19f /Misc/NEWS.d/next/Windows
parentebb8b512e959ca1a0a506ac0f0faf461b1b2ff85 (diff)
downloadcpython-39e6b8ae6a5b49bb23746fdcc354d148ff2d98e3.zip
cpython-39e6b8ae6a5b49bb23746fdcc354d148ff2d98e3.tar.gz
cpython-39e6b8ae6a5b49bb23746fdcc354d148ff2d98e3.tar.bz2
bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858)
Diffstat (limited to 'Misc/NEWS.d/next/Windows')
-rw-r--r--Misc/NEWS.d/next/Windows/2022-03-13-20-35-41.bpo-46785.Pnknyl.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2022-03-13-20-35-41.bpo-46785.Pnknyl.rst b/Misc/NEWS.d/next/Windows/2022-03-13-20-35-41.bpo-46785.Pnknyl.rst
new file mode 100644
index 0000000..0a87abd
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2022-03-13-20-35-41.bpo-46785.Pnknyl.rst
@@ -0,0 +1 @@
+Fix race condition between :func:`os.stat` and unlinking a file on Windows, by using errors codes returned by ``FindFirstFileW()`` when appropriate in ``win32_xstat_impl``.