Python: store replace on Windows tries POSIX-semantics rename first (store-windows-py) #149
Loading…
Reference in a new issue
No description provided.
Delete branch "store-replace/windows-py"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cut
variants:cut_spec:cut-store-windows-py.r1, rulingvariants:ruling:windows-replace-posix-first. Reportvariants:cut_report:cut-store-windows-py.h1._replace_storein cultcache-pystores.py: on win32 POSIX-semantics rename (ctypes kernel32) first, then write-through MoveFileExW fallback with the ruled retry; elsewhereos.replace. Both store writes (single-file and JSON-lines) go through it. Seam tests on Linux (8) and the real-kernel test passed on starfire (real Windows, Python 3.12 embeddable scp'd).Not verified: the full cultcache-py suite on Windows, 32-bit offsets, a contention probe against a looping reader.
🤖 Generated with Claude Code