Re: [Python-Dev] Suggested doc patch for tarfile

2009-04-23 Thread Ben North
>> The current documentation for tarfile.TarFile.extractfile() does not >> mention that the returned 'file-like object' supports close() and also >> iteration.  The attached patch (against svn trunk) fixes this. > > Please post the patch to bugs.python.org Done: http://bugs.python.org/issue582

Re: [Python-Dev] Suggested doc patch for tarfile

2009-04-23 Thread Aahz
On Thu, Apr 23, 2009, Ben North wrote: > > The current documentation for tarfile.TarFile.extractfile() does not > mention that the returned 'file-like object' supports close() and also > iteration. The attached patch (against svn trunk) fixes this. Please post the patch to bugs.python.org -- Aa

[Python-Dev] Suggested doc patch for tarfile

2009-04-23 Thread Ben North
Hi, The current documentation for tarfile.TarFile.extractfile() does not mention that the returned 'file-like object' supports close() and also iteration. The attached patch (against svn trunk) fixes this. (Background: I was wondering whether I could write def process_and_close_file(f_in):