Skip to content

Fix a TOCTOU FileNotFoundError possibility - #1444

Merged
kurtmckee merged 1 commit into
mainfrom
fix-a-toctou-problem
Nov 6, 2026
Merged

kurtmckee merged 1 commit into
mainfrom
fix-a-toctou-problem

Fix a TOCTOU `FileNotFoundError` possibility

bba90f2
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis succeeded Nov 6, 2026

Performance Gate Passed

1 warning

⚠️ 1 benchmark with a significant change ran on different hardware

Its base and head results were measured on machines with a different CPU, core count or memory, so the change might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚡ 1 improved benchmark
✅ 17 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_deeply_nested_object_encoding[5w-1d] 173 µs 150.3 µs +15.07%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing fix-a-toctou-problem (bba90f2) with main (9f5191a)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (c7e83bb) during the generation of this report, so 9f5191a was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩