On Mon, May 25, 2009 at 11:42 PM, Floris Bruynooghe <[email protected]> wrote: > Not sure if this is supposed to work in a situation where multiple > threads are using this API at the same time. But for that case the > simple cache management might be too limiting (enable and disable are > global) and refactoring the functions which use the cache into an > object that can be instantiated with a flag whether to use the global > cache or not might be better. >
Right, I havn't thought about that. While I don't have a clear idea on the multi-threading aspect yet, I think Phillip's proposal on having Directories might help a lot Regards Tarek _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
