>> 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
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
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):