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
zipfile leaves a file handle open if file is zero size #51418
Comments
I noticed today if I attempt to create a ZipFile object for read access, |
I expect this should already be fixed by the commit in BadZipFile will now be raised for empty files rather than IOError, and The fix was committed to trunk, but I don't see it merged into 2.6. |
Thanks. I did do a search before opening my ticket. Not sure why I didn't see that in my search. Sorry for the duplicate ticket. Steve Kelker |
Fixed in http://bugs.python.org/issue6511 |
Since the issue exists in 2.6 and is only currently fixed on trunk and |
That would be great. Perhaps that should be discussed in 6511. I'll make a note there. Steve Kelker |
Yes, I think this fix should have been included in the 2.6 branch. I |
The 2.6 branch was frozen except for critical issues during the release |
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: