]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127182: Fix `io.StringIO.__setstate__` crash when `None` is the first value (...
authorsobolevn <mail@sobolevn.me>
Mon, 25 Nov 2024 17:32:02 +0000 (20:32 +0300)
committerGitHub <noreply@github.com>
Mon, 25 Nov 2024 17:32:02 +0000 (20:32 +0300)
commita2ee89968299fc4f0da4b5a4165025b941213ba5
tree081541a20bc25965fde2f1e4feb2aba6493b35d8
parentd3da04bfc91ec065fe587451409102213af0e57c
gh-127182: Fix `io.StringIO.__setstate__` crash when `None` is the first value (#127219)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_io.py
Misc/NEWS.d/next/Library/2024-11-24-14-20-17.gh-issue-127182.WmfY2g.rst [new file with mode: 0644]
Modules/_io/stringio.c