Skip to content
Snippets Groups Projects
Unverified Commit 307dacd6 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

gh-91924: Fix __lltrace__ for non-UTF-8 stdout encoding (GH-93199)



Fix __lltrace__ debug feature if the stdout encoding is not UTF-8.

If the stdout encoding is not UTF-8, the first call to
lltrace_resume_frame() indirectly sets lltrace to 0 when calling
unicode_check_encoding_errors() which calls
encodings.search_function().
(cherry picked from commit 5695c0e0)

Co-authored-by: default avatarVictor Stinner <vstinner@python.org>
parent 2ea3d3b8
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