STINNER Victor added the comment: I can reproduce the failure if I insert time.sleep(1) after os.fstat().
Attached PR should fix the race condition. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31066> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com