]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-127182: Fix `io.StringIO.__setstate__` crash when `None` is the first value...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 25 Nov 2024 17:51:21 +0000 (18:51 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Nov 2024 17:51:21 +0000 (17:51 +0000)
commita4d6b905dd46eedaa118b95d1ed052a7171cd608
tree6e296b1856286d158f7378e926bb347b202cf456
parentf7e587d15c868d4e08397320d556980ee2a9a4ae
[3.12] gh-127182: Fix `io.StringIO.__setstate__` crash when `None` is the first value (GH-127219) (#127263)

gh-127182: Fix `io.StringIO.__setstate__` crash when `None` is the first value (GH-127219)
(cherry picked from commit a2ee89968299fc4f0da4b5a4165025b941213ba5)

Co-authored-by: sobolevn <mail@sobolevn.me>
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