[issue45981] Get raw file name in bytes from ZipFile

Devourer Station report at bugs.python.org
Wed Dec 15 07:18:57 EST 2021


Devourer Station <accelerator0099 at gmail.com> added the comment:

I do think providing a rawfile field in the ZipInfo struct helps.
As a library, ZipFile should let users know what they are dealing with.
Users can get data from zip files, and ZipFile shouldn't corrupt them.
I don't mean that we should provide everything in raw bytes.
What I mean is that DATA could be CONVERTED, but couldn't be CORRUPTED.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45981>
_______________________________________


More information about the Python-bugs-list mailing list