Commit 4aa42e0
Retry os.replace on Windows PermissionError
On Windows, os.replace raises PermissionError when another process
has the target file open. Add exponential backoff retry (5 attempts)
for the concurrent-writers case.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cd10cc9 commit 4aa42e0
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
579 | 588 | | |
580 | 589 | | |
581 | 590 | | |
| |||
0 commit comments