gh-149046: fix: correctly handle str subclasses in StringIO
#149047
+22
−1
Loading