diff options
| author | Ewann <207907827+dev-ewann@users.noreply.github.com> | 2026-11-22 16:54:01 +0100 |
|---|---|---|
| committer | Ewann <207907827+dev-ewann@users.noreply.github.com> | 2026-11-22 16:54:01 +0100 |
| commit | ef6139ddb350183be05cb4c268368e283e6a2200 (patch) | |
| tree | affebfd11cf4da59e85d1414236d897d99f9540c /docs/d3d12_command_objects.md | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
tools: newline= on text-mode temp files and Path.open too (BUILD-468)
#1615's detector read the mode only at position 1, so Path.open(mode)
and tempfile.NamedTemporaryFile(mode) were not seen: three atomic report
writes (rbf0_tree, rtti_scan, world_build) still get CRLF on Windows.
They now pass newline="\n".
The test now reads the mode where each call takes it: open, io/gzip/
bz2/lzma.open and os.fdopen at position 1, Path.open and the tempfile
classes at position 0 (binary by default). It accepts only real mode
strings, and skips codecs, os, tarfile, zipfile and webbrowser opens.
Found by @undeadhuman37 in their review of #1615.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_command_objects.md')
0 files changed, 0 insertions, 0 deletions