Patches item #1107973, was opened at 2005-01-23 22:58 Message generated for change (Comment added) made by loewis 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: Closed >Resolution: Accepted 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: Martin v. L�wis (loewis) Date: 2005-03-03 09:18 Message: Logged In: YES user_id=21627 Thanks for the patch. Applied as tarfile.py 1.24 test_tarfile.py 1.17 NEWS 1.1250 ---------------------------------------------------------------------- Comment By: Alan McIntyre (ESRG) (alanmcintyre) Date: 2005-02-27 07: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 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
