This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients Arfrever, eric.araujo, eric.snow, ncoghlan, pitrou
Date 2012-04-26.16:17:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335457039.98.0.559074629412.issue14673@psf.upfronthosting.co.za>
In-reply-to
Content
@É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).
History
Date User Action Args
2012-04-26 16:17:20eric.snowsetrecipients: + eric.snow, ncoghlan, pitrou, eric.araujo, Arfrever
2012-04-26 16:17:19eric.snowsetmessageid: <1335457039.98.0.559074629412.issue14673@psf.upfronthosting.co.za>
2012-04-26 16:17:19eric.snowlinkissue14673 messages
2012-04-26 16:17:19eric.snowcreate