Message145393
hi there,
it seems tarfile in python 3.2.2 (as installed in archlinux, but I don't see any additional patch applied on top of the vanilla sources:
http://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/python
) has troubles giving the complete content of a tar ball.
see:
$ wget http://downloads.sourceforge.net/sourceforge/boost/boost_1_44_0.tar.gz
$ md5sum boost_1_44_0.tar.gz
085fce4ff2089375105d72475d730e15 boost_1_44_0.tar.gz
$ python --version
Python 3.2.2
$ python2 --version
Python 2.7.2
$ python ./foo.py
>>> 8145
$ python2 ./foo.py
>>> 33635
where foo.py is:
##
import tarfile
o = tarfile.open("boost_1_44_0.tar.gz")
print(">>> %s" % len(o.getmembers()))
o.close()
## EOF ##
is it a known bug ?
(this of course prevents TarFile.extractall to be useful w/ python3...)
-s |
|
Date |
User |
Action |
Args |
2011-10-12 12:54:32 | bins | set | recipients:
+ bins |
2011-10-12 12:54:32 | bins | set | messageid: <1318424072.71.0.575626132028.issue13158@psf.upfronthosting.co.za> |
2011-10-12 12:54:32 | bins | link | issue13158 messages |
2011-10-12 12:54:31 | bins | create | |
|