diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2022-11-28 11:27:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 11:27:37 (GMT) |
commit | a8517978631535be8b42636922c4bd249d9f8c68 (patch) | |
tree | 7c0c0f70111442903eb5e1e73220199046f2e579 /Misc/NEWS.d | |
parent | b1c148c1be73bcd65350e2fc7833db773a08b798 (diff) | |
download | cpython-a8517978631535be8b42636922c4bd249d9f8c68.zip cpython-a8517978631535be8b42636922c4bd249d9f8c68.tar.gz cpython-a8517978631535be8b42636922c4bd249d9f8c68.tar.bz2 |
[3.10] bpo-31718: Fix io.IncrementalNewlineDecoder SystemErrors and s… (#99842)
[3.10] bpo-31718: Fix io.IncrementalNewlineDecoder SystemErrors and segfaults (GH-18640)
Co-authored-by: Oren Milman <orenmn@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 53eef27133c1da395b3b4d7ce0ab1d5b743ffb41)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2020-02-23-23-48-15.bpo-31718.sXko5e.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-02-23-23-48-15.bpo-31718.sXko5e.rst b/Misc/NEWS.d/next/Core and Builtins/2020-02-23-23-48-15.bpo-31718.sXko5e.rst new file mode 100644 index 0000000..dd96c9e --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2020-02-23-23-48-15.bpo-31718.sXko5e.rst @@ -0,0 +1,3 @@ +Raise :exc:`ValueError` instead of :exc:`SystemError` when methods of +uninitialized :class:`io.IncrementalNewlineDecoder` objects are called. +Patch by Oren Milman. |