summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Core and Builtins
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-05-25 09:45:33 (GMT)
committerGitHub <noreply@github.com>2022-05-25 09:45:33 (GMT)
commit5695c0e0a25da58dfc1d22fc1cd68c2fda0a320d (patch)
tree66c1a6a398813a42560f89aad1a17e8707acba68 /Misc/NEWS.d/next/Core and Builtins
parent19710145b496b5e5341630d80be9c400aa792bd1 (diff)
downloadcpython-5695c0e0a25da58dfc1d22fc1cd68c2fda0a320d.zip
cpython-5695c0e0a25da58dfc1d22fc1cd68c2fda0a320d.tar.gz
cpython-5695c0e0a25da58dfc1d22fc1cd68c2fda0a320d.tar.bz2
gh-91924: Fix __lltrace__ for non-UTF-8 stdout encoding (#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().
Diffstat (limited to 'Misc/NEWS.d/next/Core and Builtins')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2022-05-25-04-07-22.gh-issue-91924.-UyO4q.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-05-25-04-07-22.gh-issue-91924.-UyO4q.rst b/Misc/NEWS.d/next/Core and Builtins/2022-05-25-04-07-22.gh-issue-91924.-UyO4q.rst
new file mode 100644
index 0000000..44866a0
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2022-05-25-04-07-22.gh-issue-91924.-UyO4q.rst
@@ -0,0 +1,2 @@
+Fix ``__lltrace__`` debug feature if the stdout encoding is not UTF-8. Patch
+by Victor Stinner.