[Python-ideas] sys.implementation

Eric Snow ericsnowcurrently at gmail.com
Wed Mar 21 02:29:43 CET 2012

On Mar 20, 2012 1:11 PM, "Benjamin Peterson" <benjamin at python.org> wrote:
> Brett Cannon <brett at ...> writes:
> >
> > I was wondering that myself when looking at imp.source_to_cache() at
> 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


> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120320/6a1e84fd/attachment.html>

More information about the Python-ideas mailing list