[Python-Dev] Optional separatorargument for file.writelines() and
StringIO.writelines()
Raymond Hettinger
raymond.hettinger at verizon.net
Mon Feb 23 04:49:52 EST 2004
Currently, writelines() does not add trailing line separators..
This is fine when working with readlines() but a PITA in other
situations.
If we added an optional separator argument, it would be easier to add
newlines and we would gain some of the flexibility of str.join() at full
C speed.
Raymond Hettinger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20040223/6f4fd224/attachment.html
More information about the Python-Dev
mailing list