[Python-ideas] sys.implementation

Mark Shannon mark at hotpy.org
Sun Apr 22 11:57:13 CEST 2012


Eric Snow wrote:
> 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())

One more:

GC (reference-counting, copying, mark-and-sweep, generational, etc.)

> 
> 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.
> 
> -eric
> 
> 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
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas




More information about the Python-ideas mailing list