Issue #20424: Python implementation of io.StringIO now supports lone surrogates.