Brett Cannon <br...@python.org> added the comment:
2009/4/5 <"Tarek Ziadé <rep...@bugs.python.org>"@psf.upfronthosting.co.za>
>
> Tarek Ziadé <ziade.ta...@gmail.com> added the comment:
>
> > Does distutils use _zip_directory_cache in any way?
>
> Not at all. But pkgutil does,
Ah, OK.
> and uses to get a dirlist,
Couldn't one just open the zip file with zipfile to get the directory list?
Is there any real requirement that the cache must be used?
>
> so I guess a new API should be created in zipimport to handle this case
> as well. (I think it's some setuptools code originallyt, that landed in
> pkgutil)
Probably.
----------
Added file: http://bugs.python.org/file13638/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2953>
_______________________________________
<br><br><div class="gmail_quote">2009/4/5 <span dir="ltr"><"Tarek
Ziadé <<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>>"@<a
href="http://psf.upfronthosting.co.za">psf.upfronthosting.co.za</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204,
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Tarek Ziadé <<a
href="mailto:ziade.ta...@gmail.com">ziade.ta...@gmail.com</a>> added the
comment:<br>
<div class="im"><br>
> Does distutils use _zip_directory_cache in any way?<br>
<br>
</div>Not at all. But pkgutil does,</blockquote><div><br>Ah,
OK.<br>Â </div><blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> and uses to
get a dirlist,</blockquote>
<div><br>Couldn't one just open the zip file with zipfile to get the
directory list? Is there any real requirement that the cache must be
used?<br>Â </div><blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
so I guess a new API should be created in zipimport to handle this case<br>
as well. (I think it's some setuptools code originallyt, that landed in<br>
pkgutil)</blockquote><div><br>Probably. <br></div></div><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com