Author brett.cannon
Recipients brett.cannon, fijal, georg.brandl, tarek
Date 2009-04-06.04:03:44
SpamBayes Score 1.33116e-09
Marked as misclassified No
Message-id <bbaeab100904052103m32d66332tc26df718d6a6f899@mail.gmail.com>
In-reply-to <1238979542.72.0.995149629848.issue2953@psf.upfronthosting.co.za>
Content
Does distutils use _zip_directory_cache in any way? If not then setuptools
is in the wrong here for using a private attribute and it is on them to make
it work if the attribute does not exist, period.

Otherwise someone will need to come up with a very simple API or set or
rules to follow for clearing the cache and get setuptools to switch to it
(IMO it should be handled by simply deleting all entries for a module in
sys.modules, removing the path hook from sys.path_hooks, and then clear out
sys.path_importer_cache for all paths associated with the module). Be aware,
though, this is all leading down the road of special-casing zip imports when
you may very well run into the same issues if people start to develop other
importers -- e.g. tarball, dbm, or sqlite3 importers -- and this will all
start up again.
Files
File name Uploaded
unnamed brett.cannon, 2009-04-06.04:03:43
History
Date User Action Args
2009-04-06 04:03:46brett.cannonsetrecipients: + brett.cannon, georg.brandl, fijal, tarek
2009-04-06 04:03:44brett.cannonlinkissue2953 messages
2009-04-06 04:03:44brett.cannoncreate