New submission from gerhard_xXx <[EMAIL PROTECTED]>: 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. ---------- components: Extension Modules files: dir.tar.gz messages: 75284 nosy: gerhard_xXx severity: normal status: open title: tarfile module fails to correctly parse some .tar.gz archives?! type: behavior versions: Python 2.4 Added file: http://bugs.python.org/file11899/dir.tar.gz _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4218> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com