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. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com