]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Checking in the new, improve file.writelines() code.
authorGuido van Rossum <guido@python.org>
Mon, 13 Mar 2000 16:27:06 +0000 (16:27 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 13 Mar 2000 16:27:06 +0000 (16:27 +0000)
commitee70ad1e527e67232c61cf47819a0fc264eca435
treeb993a835d4c1f849965696bdeb3d70467ec07cc8
parentd724b23420f8e9d73a656c941c45b234e08ff9d6
Checking in the new, improve file.writelines() code.

This (1) avoids thread unsafety whereby another thread could zap the
list while we were using it, and (2) now supports writing arbitrary
sequences of strings.
Objects/fileobject.c