On Wed, Jun 3, 2015 at 5:00 AM Antoine Pitrou <solip...@pitrou.net> wrote:

> On Tue, 02 Jun 2015 21:20:10 +0000
> Brett Cannon <br...@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
> through
> > _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.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to