Message256302
| Author |
martin.panter |
| Recipients |
benjamin.peterson, martin.panter, pitrou, serhiy.storchaka, socketpair, stutzbach |
| Date |
2015年12月12日.23:10:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1449961802.04.0.90332033122.issue25190@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|