Martin Panter added the comment: Mark: This issue is about StringIO only. I am not proposing any change to TextIOBase or how on-disk text files are handled.
I intend to propose a patch to make StringIO more liberal, but haven’t got around to it yet. Do you think it would be worthwhile? IMO it would make StringIO a fairly efficient mutable text buffer. The alternatives [list(str), array("u")] are slower and/or use more than 4 bytes per character. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25190> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com