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 unnecessarily requires seekable files #50503
Comments
In python 2.6 (not 2.4, haven't checked 2.5), the __init__() method of While there are cases where it is logical to seek within a tar file, |
If I am not mistaken the functionality you look for is the streaming tar = tarfile.open(fileobj=sys.stdin, mode="r|*") Does this solve your problem? |
We are doing output, and mode='w|' works. We were using |
tarfile.TarFile is neither unsupported nor deprecated. It is just too |
OK, not intended for "everyday use"; I understand this as meaning that If I'm understanding you correctly, this could be considered a Sorry to be so confused here. I hope I'm finally converging on Anyway, thanks for the help! |
It is no documentation bug either: tarfile.open() is prominently |
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: