[Paul Rubin] > here, "temp_buf += v" is supposed to be the same as "temp_buf.write(v)". > So the suggestion is to add a __iadd__ method to StringIO and cStringIO. > > Any thoughts?
The StringIO API needs to closely mirror the file object API. Do you want to change everything that is filelike to have += as a synonym for write()? In for a penny; in for a pound. Raymond -- http://mail.python.org/mailman/listinfo/python-list