[issue2953] _zip_directory_cache untested and undocumented

Tarek Ziadé <report@bugs.python.org> at psf.upfronthosting.co.za Tarek Ziadé <report@bugs.python.org> at psf.upfronthosting.co.za
Mon Apr 6 01:18:45 CEST 2009


Tarek Ziadé <ziade.tarek at gmail.com> added the comment:

_zip_directory_cache is part of the zipimport module (C module) you can
find in Modules/zipimport.c.

The tests are located here: ./Lib/test/test_zipimport.py

_zip_directory_cache is a dict used by zipimporter_init to speed up the
lookup.

Notice that if it is successfully compiled, zipimport is used by pkgutil.

So Maciek, did you have a bug with this ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2953>
_______________________________________


More information about the Python-bugs-list mailing list