diff options
| author | Victor Stinner <vstinner@python.org> | 2022-05-26 22:39:49 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-26 22:39:49 (GMT) |
| commit | 5f8c3fb99746b9a7fadd4ec24cc4025b9c5d79d0 (patch) | |
| tree | 07570f1aa71c277b9d4f96cf25b50ed10b6d8e3c /Lib/test/_testcppext.cpp | |
| parent | efc5d37671d2b9f31850a9edaa495fadae038759 (diff) | |
| download | cpython-5f8c3fb99746b9a7fadd4ec24cc4025b9c5d79d0.zip cpython-5f8c3fb99746b9a7fadd4ec24cc4025b9c5d79d0.tar.gz cpython-5f8c3fb99746b9a7fadd4ec24cc4025b9c5d79d0.tar.bz2 | |
gh-91924: Optimize unicode_check_encoding_errors() (#93200)
Avoid _PyCodec_Lookup() and PyCodec_LookupError() for most common
built-in encodings and error handlers to avoid creating a temporary
Unicode string object, whereas these encodings and error handlers are
known to be valid.
Diffstat (limited to 'Lib/test/_testcppext.cpp')
0 files changed, 0 insertions, 0 deletions
