diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-06-13 09:15:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 09:15:19 (GMT) |
commit | 56877e4560821ad00cabe6253448c1c938cfed59 (patch) | |
tree | f47e31e0234e30b4208f2acc72b2dfd08421115d /Misc/NEWS.d | |
parent | 017b9595d4060521f93804d5dd555b6cd6585578 (diff) | |
download | cpython-56877e4560821ad00cabe6253448c1c938cfed59.zip cpython-56877e4560821ad00cabe6253448c1c938cfed59.tar.gz cpython-56877e4560821ad00cabe6253448c1c938cfed59.tar.bz2 |
[3.12] gh-105375: Improve error handling in _Unpickler_SetInputStream() (#105667) (#105720)
Prevent exceptions from possibly being overwritten in case of multiple
failures.
(cherry picked from commit 217589d4f3246d67c6ef0eb0be2b1c33987cf260)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-06-11-22-46-06.gh-issue-105375.YkhSNt.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-06-11-22-46-06.gh-issue-105375.YkhSNt.rst b/Misc/NEWS.d/next/Library/2023-06-11-22-46-06.gh-issue-105375.YkhSNt.rst new file mode 100644 index 0000000..dda8f42 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-06-11-22-46-06.gh-issue-105375.YkhSNt.rst @@ -0,0 +1,2 @@ +Fix a bug in :c:func:`!_Unpickler_SetInputStream` where an exception could +end up being overwritten in case of failure. |