Which Python implementation am I using?
ned at nedbatchelder.com
Fri Aug 7 20:16:12 CEST 2015
On Friday, August 7, 2015 at 1:27:17 PM UTC-4, Steven D'Aprano wrote:
> Is this the best way to detect Jython and IronPython when
> python_implementation isn't available?
> How about PyPy, Stackless, or others?
I've been told that the canonical test for PyPy is:
'__pypy__' in sys.builtin_module_names
This is the test that coverage.py uses.
More information about the Python-list