]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from...
authorPablo Galindo Salgado <Pablogsal@gmail.com>
Tue, 5 Jul 2022 16:39:21 +0000 (17:39 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Jul 2022 16:39:21 +0000 (17:39 +0100)
commit36fcde61ba48c4e918830691ecf4092e4e3b9b99
tree4018f279199d9ccf74ef0100dcb62a6135a915c3
parentc8556bcf6c0b05ac46bd74880626a2853e7c99a1
gh-94360: Fix a tokenizer crash when reading encoded files with syntax errors from stdin (#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>
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