]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858)
authorItai Steinherz <itaisteinherz@gmail.com>
Tue, 10 May 2022 22:52:39 +0000 (01:52 +0300)
committerGitHub <noreply@github.com>
Tue, 10 May 2022 22:52:39 +0000 (23:52 +0100)
commit9be9b585aac111becb5b95b053360ed9b7d206e0
tree38d795cfea9a30543de99d32fc5462cedda9fb90
parentdd0e8a62df8be2a09ef6035b4c92bd9a68a7b918
bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858)

* [3.10] bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858).
(cherry picked from commit 39e6b8ae6a5b49bb23746fdcc354d148ff2d98e3)

Co-authored-by: Itai Steinherz <itaisteinherz@gmail.com>
Lib/test/test_os.py
Misc/ACKS
Misc/NEWS.d/next/Windows/2022-03-13-20-35-41.bpo-46785.Pnknyl.rst [new file with mode: 0644]
Modules/posixmodule.c