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

Nick Coghlan ncoghlan at gmail.com
Sat Oct 10 17:41:27 CEST 2009

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.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list