Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1886
___
Éric Araujo mer...@netwok.org added the comment:
distutils in 2.7 and 3.1 use tarfile.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - make distutils use the tarfile module
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
--
assignee: - tarek
nosy: +merwok, tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1886
___
___
Changes by A.M. Kuchling li...@amk.ca:
--
assignee: akuchling -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1886
___
___
Python-bugs-list
Changes by Till Maas opensou...@till.name:
--
nosy: +till
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1886
___
___
Python-bugs-list mailing list
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
priority: normal - high
versions: +Python 3.1 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1886
___
anatoly techtonik techto...@gmail.com added the comment:
Roumen, could you be more specific about what are you trying to say with
this 200kB piece of code? Was it the intention to post a link to man or
another piece of spec?
___
Python tracker
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
Did I misunderstood something about -j -z -Z flags ?
http://src.opensolaris.org /source/xref/onnv/onnv-gate/usr/src/cmd/tar/tar.c
___
Python tracker rep...@bugs.python.org
anatoly techtonik techto...@gmail.com added the comment:
I attach an improved patch1886.use.tarfile.module.diff that fixes all
bugs addressed in this issue.
It also removes second call to compression program leaving that
privilege to tar.
I notice that the archive generated by tarfile module
anatoly techtonik techto...@gmail.com added the comment:
Oh, my mistake - the bug with extra dir component in archive is in issue4750
Second shell call to compression program is removed only for the case
when tarfile or any of required compression modules are not available.
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
about patch1886.use.tarfile.module.diff - the original tar don't support
-j flag.
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1886
anatoly techtonik techto...@gmail.com added the comment:
What are the systems where does this original tar still exist as a
default utility?
If there is no tarfile module on this systems and tar version is so
old then you need a more modern system to wrap your releases or more
modern tar. The
Changes by A.M. Kuchling [EMAIL PROTECTED]:
--
assignee: - akuchling
nosy: +akuchling
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1886
___
___
Giampaolo Rodola' added the comment:
Both things fixed. The new patch is in attachment.
Just one thing: I tried a diff between a tar.gz file generated by
tarfile module and another one generated by the UNIX tar utility and it
seems there are some differences.
I don't know if this could
Giampaolo Rodola' added the comment:
I just did some tests and could not find any major difference.
Which are the differences you found?
diff utility doesn't provide any output since the compared files are
binary. As far as I can tell the two files have a different size
(tarfile generates a
Lars Gustäbel added the comment:
Hm, on my Linux box both files are more or less identical. Sorry, I
cannot reproduce your problem.
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1886
__
New submission from Giampaolo Rodola':
Currently creating tar, gztar, bztar source distributions using the
--formats=tar,gztar,bztar distutils option requires external utilities
(tar and possibly one of gzip, bzip2, or compress) to be installed on
the system since distutils uses them.
This is
Phillip J. Eby added the comment:
On systems where the gzip or bz2 modules aren't installed, this patch
can raise a tarfile.CompressionError, which should be caught and handled
correctly. The import of tarfile should also be inside the relevant
function (as is done for make_zipfile) instead of
Changes by Christian Heimes:
--
keywords: +patch
priority: - normal
type: - rfe
versions: +Python 2.6 -Python 2.5
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1886
__
19 matches
Mail list logo