[Patches] [ python-Patches-1107973 ] tarfile.ExFileObject iterators
SourceForge.net
noreply at sourceforge.net
Sun Feb 27 07:10:19 CET 2005
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
More information about the Patches
mailing list