[issue33369] Removing Popen log files in threads is racy on Windows

2018-04-27 Thread Peter Boström
Peter Boström added the comment: Wow that's old, yeah that's fair (I wouldn't expect this to be backported to any old releases). Our current "workaround" is to try os.remove, sleep, repeat X times. This seems still racy and not something we'd like to have in our script if it can be resolved

[issue33369] Removing Popen log files in threads is racy on Windows

2018-04-26 Thread Zachary Ware
Zachary Ware added the comment: You will get no support for Python 2.7.3 out of us (that patch release is over 6 years old! At least try 2.7.14, or wait a week for 2.7.15) and most of us have lost interest in 2.7 altogether, particularly on Windows. However, this sounds very much like other

[issue33369] Removing Popen log files in threads is racy on Windows

2018-04-26 Thread Peter Boström
New submission from Peter Boström : OS: Windows 10, version 1607 (OS Build 14393.2189) Python --version: Python 2.7.3 Removing logfiles files just after Popen().wait() outside an open() block is racy on Windows. This seems to require multiple parallel workers to pull off, not sure where the sy