[Python-Dev] PEP 370 and IronPython

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.python_implementation()
> '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.


More information about the Python-Dev mailing list