]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:56:42 +0000 (18:56 +0100)
committerGitHub <noreply@github.com>
Mon, 25 Nov 2024 17:56:42 +0000 (17:56 +0000)
commita1b9663c417ec4f2c53cf59b4f6e2c765e48f829
tree34998e150473c4f1f06aa3da3a85a06cf73c5c46
parentf0c47ea22e0980b4ff9683430b60c418a813021e
[3.13] gh-127182: Fix `io.StringIO.__setstate__` crash when `None` is the first value (GH-127219) (#127262)

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