I completely agree with Andrew Barnert.

I just want to add a little comment about overriding the `+=` (and `+`) 
operator for StringIO. Since StringIO is a stream --not a string--, I think 
`StringIO` should continue to use the common interface for streams in Python. 
`write()` and `read()` are fine for streams (and files) and you can find 
similar `write` and `read` functions in other languages. I cannot see any 
advantage on departing from this convention.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/LFGQVJDOGBBJ7CIYHISM4X4IZDWLGFII/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to