diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-07-05 17:09:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 17:09:51 (GMT) |
commit | d49c99f10d66e6c485bde7e35d79dea07f3c90eb (patch) | |
tree | c271de2970426b1015b70b566644dbb421cf276c /Misc/NEWS.d | |
parent | 9bd97a2a7e542aca2635cc53d74b286944653316 (diff) | |
download | cpython-d49c99f10d66e6c485bde7e35d79dea07f3c90eb.zip cpython-d49c99f10d66e6c485bde7e35d79dea07f3c90eb.tar.gz cpython-d49c99f10d66e6c485bde7e35d79dea07f3c90eb.tar.bz2 |
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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-06-28-14-20-36.gh-issue-94360.DiEnen.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-06-28-14-20-36.gh-issue-94360.DiEnen.rst b/Misc/NEWS.d/next/Core and Builtins/2022-06-28-14-20-36.gh-issue-94360.DiEnen.rst new file mode 100644 index 0000000..0a74ba3 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-06-28-14-20-36.gh-issue-94360.DiEnen.rst @@ -0,0 +1,2 @@ +Fixed a tokenizer crash when reading encoded files with syntax errors from +``stdin`` with non utf-8 encoded text. Patch by Pablo Galindo |