On Mon, Apr 30, 2012 at 9:08 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:
On Tue, May 1, 2012 at 12:50 PM, Eric Snow <ericsnowcurrently@gmail.com> wrote:
In my mind sys.implementation makes more sense. For example, in the case of cache_tag (which is merely a potential future variable), its value is an implementation detail used by importlib. Having it in sys.implementation would emphasize this point.
Personally, I think cache_tag should be part of the initial proposal. Implementations may want to use different cache tags depending on additional information that importlib shouldn't need to care about, and I think it would also be reasonable to allow "cache_tag=None" to disable the implicit caching altogether.
I'm going to leave it as-is for the moment, but I'm leaning toward doing this. -eric