[issue10447] zipfile: IOError for long directory paths on Windows

Sridhar Ratnakumar report at bugs.python.org
Wed Nov 17 23:56:44 CET 2010


Sridhar Ratnakumar <sridharr at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10447>
_______________________________________


More information about the Python-bugs-list mailing list