Eric Snow <ericsnowcurren...@gmail.com> added the comment:

@Éric - that's a good point.  I considered it for a little bit, but went with 
the quick and easy think to get it rolling.

There is a real benefit to mandating an API sys.implementation.version.  
importlib would use that version to calculate the tag to use for cached 
modules.  Without a specified/uniform data structure, that job is trickier.

Having an explicit sys.implementation.cache_tag field would solve that, and the 
importlib code would check for that field first.  However, I didn't want to 
start off with that as a "required" field, considering that only CPython would 
take advantage of module caches (as far as I know).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to