Amaury Forgeot d'Arc added the comment:
Is it also the case for other file operations? Here is a list that may use a
closed FILE object:
f.write('something')
f.read(1)
print >>f, 'something'
f.seek(0)
f.tell()
f.truncate(0)
f.flush()
f.isatty()
f.readlines()
f.writelines(['x'])
list(f)
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15904>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com