diff options
author | Itai Steinherz <itaisteinherz@gmail.com> | 2022-05-02 23:19:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 23:19:13 (GMT) |
commit | 39e6b8ae6a5b49bb23746fdcc354d148ff2d98e3 (patch) | |
tree | 0744e51c145b37baa6335749d890bd1efba5f19f /Misc/NEWS.d/next/Windows | |
parent | ebb8b512e959ca1a0a506ac0f0faf461b1b2ff85 (diff) | |
download | cpython-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.rst | 1 |
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``. |