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

[3.10] gh-91924: Fix __ltrace__ for non-UTF-8 stdout encoding (#93214)

Fix __ltrace__ 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().

Add test_lltrace.test_lltrace() test.
parent 02d35fc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment