brett at python.org
Wed Jun 3 15:52:12 CEST 2015
On Wed, Jun 3, 2015 at 5:00 AM Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Tue, 02 Jun 2015 21:20:10 +0000
> Brett Cannon <brett at python.org> wrote:
> > I vaguely remember people suggesting writing the minimal zip reading code
> > in C but I can't remember why since we have I/O access in importlib
> > _io and thus it's really just the pulling apart of the zip file to get at
> > the files to import and thus should be doable in pure Python.
> You would need other modules, such as struct and zlib, right?
zlib yes, but that's already a C extension so that could get compiled in as
a built-in module if necessary. As for struct, it might be nice but it
doesn't provide any functionality that couldn't be reproduced manually.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev