gh-94823: Improve coverage in tokenizer.c:valid_utf8 by mdboom · Pull Request #94856 · python/cpython
When loading a source file from disk, there is a separate UTF-8 validator distinct from the one in `unicode_decode_utf8`. This exercises that code path with the same set of invalid inputs as we use for testing the "other" UTF-8 decoder.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…94856) When loading a source file from disk, there is a separate UTF-8 validator distinct from the one in `unicode_decode_utf8`. This exercises that code path with the same set of invalid inputs as we use for testing the "other" UTF-8 decoder. (cherry picked from commit f215d7c) Co-authored-by: Michael Droettboom <mdboom@gmail.com>
pablogsal pushed a commit that referenced this pull request
#96029) Co-authored-by: Michael Droettboom <mdboom@gmail.com>
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters