2009/4/5 <"Tarek Ziadé <report@bugs.python.org>"@psf.upfronthosting.co.za>

Tarek Ziadé <ziade.tarek@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.