This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gerhard_xXx
Recipients gerhard_xXx
Date 2008-10-28.15:12:10
SpamBayes Score 0.00020973016
Marked as misclassified No
Message-id <1225206732.62.0.645534354703.issue4218@psf.upfronthosting.co.za>
In-reply-to
Content
hi,

seems like tarfile module for python 2.4 is broken.
If I open the attached dir.tar.gz (tried it on different machines) then
tarfile module only displays a part of the contents.

what I did:
>>> import tarfile
>>> f = tarfile.open('dir.tar.gz','r:gz')
>>> f.getnames()

getnames() only returns the files/directories in the dir.tar.gz that
start with letter "a-j" and skips the rest???!!

cheers gerhard

More info (I have debian etch installation):
Python 2.4.4 (#2, Apr 16 2008, 17:58:59)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2

$ tar --version
tar (GNU tar) 1.16
Copyright (C) 2006 Free Software Foundation, Inc.
History
Date User Action Args
2008-10-28 15:12:13gerhard_xXxsetrecipients: + gerhard_xXx
2008-10-28 15:12:12gerhard_xXxsetmessageid: <1225206732.62.0.645534354703.issue4218@psf.upfronthosting.co.za>
2008-10-28 15:12:11gerhard_xXxlinkissue4218 messages
2008-10-28 15:12:10gerhard_xXxcreate