]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Tue, 5 Jul 2022 18:14:28 +0000 (19:14 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Jul 2022 18:14:28 +0000 (20:14 +0200)
commit697e78ca05ee989c383996a7fde2277fb2d2886f
tree30ad04672a7505dd6d51fd47c2551fa024f46a3c
parent922075c964e5d630402176169980b8831c42409c
[3.10] gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin (GH-94386) (GH-94574)

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
(cherry picked from commit 36fcde61ba48c4e918830691ecf4092e4e3b9b99)
Misc/NEWS.d/next/Core and Builtins/2022-06-28-14-20-36.gh-issue-94360.DiEnen.rst [new file with mode: 0644]
Parser/pegen.c
Parser/tokenizer.c