Update of /cvsroot/python/python/dist/src/Misc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15099/Misc Modified Files: NEWS Log Message: SF patch #907403: Improvements to cStringIO.writelines() The writelines() method now accepts any iterable argument and writes the lines one at a time rather than using ''.join(lines) followed by a single write. Results in considerable memory savings and makes the method suitable for use with generator expressions. Index: NEWS =================================================================== RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v retrieving revision 1.941 retrieving revision 1.942 diff -C2 -d -r1.941 -r1.942 *** NEWS 7 Mar 2004 07:31:06 -0000 1.941 --- NEWS 8 Mar 2004 18:22:35 -0000 1.942 *************** *** 176,179 **** --- 176,184 ---- ----------------- + - cStringIO.writelines() now accepts any iterable argument and writes + the lines one at a time rather than joining them and writing once. + Made a parallel change to StringIO.writelines(). Saves memory and + makes suitable for use with generator expressions. + - time.strftime() now checks that the values in its time tuple argument are within the proper boundaries to prevent possible crashes from the