Skip to content
Snippets Groups Projects
Unverified Commit 5f8c3fb9 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub
Browse files

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.
parent efc5d376
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment