[issue37260] shutil.rmtree() FileNotFoundError race condition

2021-06-20 Thread Irit Katriel
Irit Katriel added the comment: see also issue29699 -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37260] shutil.rmtree() FileNotFoundError race condition

2019-06-15 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The PR is ready for review. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37260] shutil.rmtree() FileNotFoundError race condition

2019-06-13 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13924 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14064 ___ Python tracker

[issue37260] shutil.rmtree() FileNotFoundError race condition

2019-06-12 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : shutil.rmtree() is susceptible to a race condition that can needlessly raise OSError: 1. os.scandir() returns the list of entries in a directory 2. while iterating over the list, another thread or process deletes one or more of the entries not yet