diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2022-07-05 18:14:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 18:14:28 (GMT) |
commit | 697e78ca05ee989c383996a7fde2277fb2d2886f (patch) | |
tree | 30ad04672a7505dd6d51fd47c2551fa024f46a3c /Misc | |
parent | 922075c964e5d630402176169980b8831c42409c (diff) | |
download | cpython-697e78ca05ee989c383996a7fde2277fb2d2886f.zip cpython-697e78ca05ee989c383996a7fde2277fb2d2886f.tar.gz cpython-697e78ca05ee989c383996a7fde2277fb2d2886f.tar.bz2 |
[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)
Diffstat (limited to 'Misc')
-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 |