]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103578: Fix pdb reading code with non-utf8 encoding (#103581) 31302/head
authorTian Gao <gaogaotiantian@hotmail.com>
Wed, 26 Apr 2023 05:04:51 +0000 (22:04 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Apr 2023 05:04:51 +0000 (23:04 -0600)
commit31acfd78a0810f84898d36a8289e407d3754b823
treecdc69811f41e9a882c8dd6035a4a97a0f648bbc9
parentc9864121cba5e5366d8e023fa14be0eac504cc06
gh-103578: Fix pdb reading code with non-utf8 encoding (#103581)

`pdb` should use `io.open_code` to open code to avoid encoding issue.
Lib/pdb.py
Lib/test/test_pdb.py
Misc/NEWS.d/next/Library/2023-04-16-18-29-04.gh-issue-103578.fly1wc.rst [new file with mode: 0644]