New submission from Ismail Donmez: Running python 2.5 maintainance branch,
Test code is : import tarfile f = file(r"nss-3.12_alpha2.tar.bz2", "rb") tar = tarfile.open(fileobj=f, mode="r|bz2") try: for m in tar: tar.extract(m) finally: tar.close() f.close() You can get the file from http://cekirdek.pardus.org.tr/~ismail/dist/nss-3.12_alpha2.tar.bz2 . When the script finishes it only creates mozilla/security/nss directory, if you extract with tar you will see that it also creates mozilla/security/coreconf directory. Tarfile created with 1.19 on Linux i686. I can reproduce the same problem with tar.gz version of the same file. ---------- components: Library (Lib) messages: 59077 nosy: cartman severity: normal status: open title: Tarfile fails to fully extract tar.bz2/tar.gz package versions: Python 2.5 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1718> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com