Repository navigation
bink_names: decode XML escapes in mount paths - #7160
Xiaoyuan-114 wants to merge 1 commit into
Conversation
lucastayaralvarenga-ui
left a comment
There was a problem hiding this comment.
Reviewed 2549007 on Windows 11 Pro build 26300, Python 3.12.16, CPU only.
The new CLI regression passes. It confirms that named and numeric XML escapes resolve to one normalized mount path, and that the CSV pin selects the recovered stream as verified.
The full bink_names suite ran 34 tests with 33 passed and one failure in the existing test_unreadable_mount_directory_preserves_the_report. Its path assertion compares a literal Windows path with the escaped spelling in an OSError message, matching the limitation already documented in the PR. I found no blocking issue in the XML-unescape change.
AI-assisted (Codex), synthetic bank and mount XML only.
|
AI-assisted CPU review at |
|
Independent Linux check (WSL2, CPython 3.14.4) of |
Claimed in the coordination issue as: XML escapes in bink_names.py
What and why
A CSV pin for
tv/rock&roll.bk2now matches a mount entry written astv/rock&roll.bk2. Decode XML escapes before sorting and deduplicating the paths. The test also covers the numeric escape for the same name.Tested
python3 -I tests/test_bink_names.py(34 passed).test_unreadable_mount_directory_preserves_the_report(covered by tools: print Windows paths in error messages without repr() doubling #6049).AI-assisted: yes
Checklist