[Python-Dev] PEP 370 and IronPython (original) (raw)

Benjamin Peterson benjamin at python.org
Thu Oct 8 16:25:10 CEST 2009


2009/10/8 Nick Coghlan <ncoghlan at gmail.com>:

As mentioned in that discussion, as of Python 2.6, you can do the following:

import platform platform.pythonimplementation() 'CPython' (Although according to the function docstring, PyPy is currently missing from the list of known implementations)

That docstring should be updated then because I added support for PyPy in 2.7 and 3.1.

-- Regards, Benjamin



More information about the Python-Dev mailing list