New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tarfile stops iteration with some longfiles #43534
Comments
tarfile.py in python 2.4.3 version has a bug that makes If a file's name is longer than 100 bytes, after I created a tar archive to test this case. You can find it My test code does this: #!/usr/bin/python
import tarfile
import sys
tar = tarfile.open(sys.argv[1], "r")
tar.list() If I run it with the prepared tar file, i get this output: faik@pardus tmp $ ./tarlist.py longfiles.tar But if I run tar(1) with tvf options, i get this output: faik@pardus tmp $ tar tvf longfiles.tar tarfile.py ends iteration with this member There is also an attachment for the fix of the bug. |
Logged In: YES This is fixed in SVN, you can try the 2.5 beta to verify it. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: