[issue4621] zipfile returns string but expects binary

STINNER Victor report at bugs.python.org
Wed May 18 14:00:18 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

The initial problem is clearly a duplicate of issue #10801 which is now fixed in Python 3.1+ (I just backported the fix to Python 3.1).

> I just "discovered" that attempting to open zip member "test\file"
> fails where attempting to open "test/file" works. (...)
> It seems pretty clear that zipfile should do that for me, though.

@v+python: I don't think so, but others may agree with you. Please open a new issue, because it is unrelated to the initial bug report.

I'm closing this issue because the initial is now fixed.

For x.zip (UTF-8 encoded filenames with the "Unicode" flag) problem, there is already the issue #10614 which handles this case.

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4621>
_______________________________________


More information about the Python-bugs-list mailing list