]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 30 Jun 2022 09:59:33 +0000 (02:59 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Jun 2022 09:59:33 +0000 (02:59 -0700)
commit20b8c9eee0978b8f621293d5dbf2d574d9b83d1b
tree8a7ae43f554bfb56b1a30959e239bf57e86872ee
parentc5ecfa0a1e5334be21ca3448abf87aabc534a97e
gh-92336: linecache.getline should not raise exceptions on decoding errors (GH-94410)

(cherry picked from commit 21cbdae90ffdac047d27d1b83a5442fabcf89f7c)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Lib/linecache.py
Lib/test/test_linecache.py
Misc/NEWS.d/next/Library/2022-06-29-09-48-37.gh-issue-92336.otA6c6.rst [new file with mode: 0644]