]> 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>
Mon, 9 May 2022 22:42:59 +0000 (01:42 +0300)
committerGitHub <noreply@github.com>
Mon, 9 May 2022 22:42:59 +0000 (23:42 +0100)
commit1fb25a96aeceae4b8615a7ab550bf7538353e5c5
treec36ba26e13b22889341766ba904656e99042bad2
parent249be828e475202fd6f63fc357be75eca1267c9f
bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858)

* [3.9] 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