[Python-Dev] PEP about sys.implementation and implementation specific user site directory

M.-A. Lemburg mal at egenix.com
Sun Oct 11 15:13:33 CEST 2009


Nick Coghlan wrote:
> M.-A. Lemburg wrote:
>> Benjamin Peterson wrote:
>>> I forgot to ask before: Does this deprecate platform.python_implementation()?
>>
>> No, platform.py is meant to be portable across multiple Python
>> versions and as such not really suitable for such deprecations.
>>
>> It'll also take a long while before all Python implementations
>> expose a new sys module attribute along the proposed lines.
> 
> However, the function could be updated to take advantage of the new
> sys.implementation attribute when it was available. If it didn't find
> it, it would fallback to figuring out the way it does now.

Sure. It already does that for a couple of other APIs.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Oct 11 2009)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the Python-Dev mailing list