On Mar 20, 2012 1:11 PM, "Benjamin Peterson" <firstname.lastname@example.org> wrote:
> Brett Cannon <brett@...> writes:
> > I was wondering that myself when looking at imp.source_to_cache() at PyCon.
> What's implementation specific about that?
File suffixes on the .pyc files there include implementation information. To get that info in Python you can use the platform module (not an option for bootstrapping importlib) or guess (essentially what the platform module does).
> Python-ideas mailing list