]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] 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:33:02 +0000 (15:33 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2026 13:33:02 +0000 (13:33 +0000)
commite60e8cfe8bda635923507bb36949d42ae780564e
tree43e5d6c2fd622d11138d94dd00bd7f1cebc73f1a
parent58335eebef7d15e21866e7e618136d2ce752d404
[3.15] gh-149046: fix: correctly handle `str` subclasses in `io.StringIO` (GH-149047) (#150706)

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_io/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