[Python-ideas] sys.implementation

Eric Snow ericsnowcurrently at gmail.com
Sun Apr 22 10:59:54 CEST 2012

On Thu, Mar 22, 2012 at 7:22 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> On Thu, Mar 22, 2012 at 4:37 AM, Benjamin Peterson <benjamin at python.org> wrote:
>> Eric Snow <ericsnowcurrently at ...> writes:
>>> I'd like to move this forward, so any objections or feedback at this
>>> point would be helpful.
>> I would like to see a concrete proposal of what would get put in there.
> +1
> A possible starting list:
> - impl name (with a view to further standardising the way we check for
> impl specific tests in the regression test suite)
> - impl version (official place to store the implementation version,
> potentially independent of the language version as it already is in
> PyPy)
> - cache tag (replacement for imp.get_tag())

This is a great start, Nick.  Having a solid sys.implementation would
(for one) help with the import machinery, as your list suggests.  I'm
planning on reviewing that old thread over the next few days. [1]  In
the meantime, any additional thoughts by anyone on what would go into
sys.implementation would be very helpful.


p.s. is python-ideas the right place for this discussion?  Also,
ultimately this topic should go into a PEP, right?

[1] http://mail.python.org/pipermail/python-dev/2009-October/092893.html

More information about the Python-ideas mailing list