]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151461: Fix encoding-related exception handling in file tokenizer (GH-15146...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 14 Jun 2026 12:58:37 +0000 (14:58 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Jun 2026 12:58:37 +0000 (12:58 +0000)
commit89e178d78cb297755ddb58b55e42e74ed31aa810
treee46e193ec7c1e32bb75699ce0c09c1c03a13be9c
parent03873bb5f0ca3a7f426c1d30a273238f3ca75b7a
[3.15] gh-151461: Fix encoding-related exception handling in file tokenizer (GH-151462) (GH-151470)

(cherry picked from commit f1a5f68e3761e010ccd4dda1342500c5ae40bbc4)

Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Lib/test/test_source_encoding.py
Misc/NEWS.d/next/Core_and_Builtins/2026-06-14-05-05-15.gh-issue-151461.5q0s88.rst [new file with mode: 0644]
Parser/pegen.c
Parser/pegen.h
Parser/pegen_errors.c
Parser/tokenizer/helpers.c
Parser/tokenizer/helpers.h