[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-patches
Subject:    [Patches] [ python-Patches-1107973 ] tarfile.ExFileObject iterators
From:       noreply () sourceforge ! net (SourceForge ! net)
Date:       2005-02-27 7:10:22
Message-ID: E1D5HdD-0007JU-S0 () sc8-sf-web1 ! sourceforge ! net
[Download RAW message or body]

Patches item #1107973, was opened at 2005-01-23 16:58
Message generated for change (Comment added) made by alanmcintyre
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1107973&group_id=5470

Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Mitch Chapman (mitchchapman)
Assigned to: Nobody/Anonymous (nobody)
Summary: tarfile.ExFileObject iterators

Initial Comment:
Since Python 2.2 it has been possible to iterate over the lines of a 
file object (PEP 234).  This patch provides line-by-line iterators for 
TarFile.extractfile.

The attachment contains forward diffs for both Lib/tarfile.py and 
Lib/test/test_tarfile.py.



----------------------------------------------------------------------

Comment By: Alan McIntyre (ESRG) (alanmcintyre)
Date: 2005-02-27 01:10

Message:
Logged In: YES 
user_id=1115903

The patch seems to work as advertised; all regression tests
pass when run against 2.5a0 (CVS HEAD, built with MSVC .NET)
+ this patch on Windows XP.  

Improving the file-likeness of ExFileObject seems like a
good idea to me, so I'm all for seeing this get accepted. :)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1107973&group_id=5470

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic