Patches item #1695229, was opened at 2007-04-05 21:49
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1695229&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Arve Knudsen (arve_knudsen)
Assigned to: Nobody/Anonymous (nobody)
Summary: tarfile bug when opening a file directly

Initial Comment:
The tarfile.open function supports two ways of opening a file, either 
indirectly by specifying its name (parameter 'name') or by passing an open file 
object (parameter 'fileobj'). If one only passes a file object however an 
exception is raised, since on line 1047 TarFile.__init__ passes the filename to 
os.path.abspath, regardless of whether it is None or not.

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

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

Reply via email to