]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 Jul 2022 17:09:51 +0000 (10:09 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Jul 2022 17:09:51 +0000 (10:09 -0700)
commitd49c99f10d66e6c485bde7e35d79dea07f3c90eb
treec271de2970426b1015b70b566644dbb421cf276c
parent9bd97a2a7e542aca2635cc53d74b286944653316
gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin (GH-94386)

* gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* nitty nit

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
(cherry picked from commit 36fcde61ba48c4e918830691ecf4092e4e3b9b99)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
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_errors.c
Parser/tokenizer.c