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

Category: Library (Lib)
Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Lars Gust�bel (gustaebel)
Assigned to: Nobody/Anonymous (nobody)
Summary: tarfile.py: fix for bug #1100429

Initial Comment:
On platforms like Win32 which don't support symbolic
and hard links, link extraction from a tar archive is
simulated: If the link points to a file inside the
archive this file is extracted instead of the link.
In Greg's case the referenced file comes after the link
in the archive which is the reason why iteration
breaks: at the point in iteration when the referenced
file is needed it is still unknown to the TarFile
object which will then search the whole archive
exhausting the iterator itself.

The patch fixes the TarIter class, so it is able to
notice if the TarFile has already loaded all members
between two iteration steps.

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

>Comment By: Martin v. L�wis (loewis)
Date: 2005-03-04 00:15

Message:
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as
NEWS 1.1262 and 1.1193.2.29
tarfile.py 1.25 and 1.21.2.1

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1103407&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to