Commit 053980d
committed
Impl more codecs and _codecs._unregister_error
- Rewrite _pycodecs.py: escape_decode, charmap_decode,
unicode_escape_decode/encode, raw_unicode_escape_decode/encode
- Add _codecs._unregister_error with built-in handler protection
and null byte/surrogate validation
- Normalize encoding name in register_manual
- Add codec error notes via add_note
- Fix cp65001 encoding constant in StandardEncoding::parse
- Remove 35 expectedFailure markers from test_codecs,
test_pickle, test_datetime, pickletools1 parent 40d418e commit 053980d
File tree
7 files changed
+1041
-676
lines changed- Lib
- test
- crates/vm/src
- stdlib
7 files changed
+1041
-676
lines changed
0 commit comments