summaryrefslogtreecommitdiff
path: root/Modules/_bisectmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-05-26 00:16:32 +0200
committerGitHub <noreply@github.com>2022-05-26 00:16:32 +0200
commit9369942054fe3fe389f4f4ff808d33c5d7945052 (patch)
tree4f9b6e47cd432c374822e7d4f348f005d9062394 /Modules/_bisectmodule.c
parent02d35fc4ef8a718e74ab97402b6d8371b69d3635 (diff)
downloadcpython-git-9369942054fe3fe389f4f4ff808d33c5d7945052.tar.gz
[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.
Diffstat (limited to 'Modules/_bisectmodule.c')
0 files changed, 0 insertions, 0 deletions