Message159393
@É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). |
|
Date |
User |
Action |
Args |
2012-04-26 16:17:20 | eric.snow | set | recipients:
+ eric.snow, ncoghlan, pitrou, eric.araujo, Arfrever |
2012-04-26 16:17:19 | eric.snow | set | messageid: <1335457039.98.0.559074629412.issue14673@psf.upfronthosting.co.za> |
2012-04-26 16:17:19 | eric.snow | link | issue14673 messages |
2012-04-26 16:17:19 | eric.snow | create | |
|