]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-149046: fix: correctly handle `str` subclasses in `io.StringIO` (GH-149047...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 1 Jun 2026 13:26:30 +0000 (15:26 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2026 13:26:30 +0000 (13:26 +0000)
commita2f00d401af98063ea80dbf40f43a3160e242bd9
tree68810b9d2bad70befc1847d2e32f9cf2dcbe0c93
parentc99afe81309ae324806a61da42fc448751ad2e19
[3.14] gh-149046: fix: correctly handle `str` subclasses in `io.StringIO` (GH-149047) (#150707)

gh-149046: fix: correctly handle `str` subclasses in `io.StringIO` (GH-149047)
(cherry picked from commit c98773633c97463e35eb51fac81d1095e8061fe0)

Co-authored-by: Thomas Kowalski <thom.kowa@gmail.com>
Lib/test/test_memoryio.py
Misc/NEWS.d/next/Library/2026-04-27-11-12-00.gh-issue-149046.74shDd.rst [new file with mode: 0644]
Modules/_io/stringio.c