Repository navigation
Commit a463449
authored
csv: support non-ASCII Unicode dialect characters (#9367)
* scripts: make check_redundant_patches.py executable
The redundant-test-patches pre-commit hook uses `language: script`, which
requires the executable bit, and fails on every commit touching Lib/test.
Assisted-by: Claude:claude-sonnet-5-5
* csv: support non-ASCII Unicode dialect characters
Store delimiter, quotechar and escapechar as `char` instead of `u8`, and
run the reader state machine and the writer over code points, so that a
single non-ASCII character such as `€` is accepted like in CPython. The
field size limit is now counted in characters rather than bytes.
Fixes #8408
Assisted-by: Claude:claude-sonnet-5-51 parent b25ab5e commit a463449
4 files changed
Lines changed: 129 additions & 132 deletions
File tree
- Lib/test
- crates/stdlib/src
- extra_tests/snippets
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
676 | 675 | | |
677 | 676 | | |
678 | 677 | | |
| |||
0 commit comments