Sridhar Ratnakumar <sridh...@activestate.com> added the comment:

> How would you implement this? And would you turn a "disk full" error, for 
> example, into a ZipError as well?

I see your point. I am not sure what a reliable way to do this would be. For 
the record, this is how I workaround it:
https://github.com/ActiveState/applib/blob/master/applib/_compression.py#L78
(I cannot find any other reason for an IOError/errno=2 during extraction)

And I, personally, wouldn't turn the disk full error into a ZipError.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10447>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to