This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: platform.python_implementation does not work on IronPython
Type: behavior Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, tbleier
Priority: normal Keywords:

Created on 2009-06-30 11:27 by tbleier, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg89917 - (view) Author: Thomas Bleier (tbleier) Date: 2009-06-30 11:27
platform.python_implementation as of CPython 2.6 does not work on
IronPython 2.0.1

It obviously crashes because it fails determining that it run's on
IronPython.

>>> platform.python_implementation()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\IronPython2\Lib\platform.py", line 1409, in python_implementation
  File "C:\IronPython2\Lib\platform.py", line 1359, in _sys_version
ValueError: failed to parse CPython sys.version: '2.5.0 (IronPython 2.0
(2.0.0.0) on .NET 2.0.50727.4918)'
msg89920 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-06-30 12:34
It should in 2.7, when that is released.
History
Date User Action Args
2022-04-11 14:56:50adminsetgithub: 50637
2009-06-30 12:34:39benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg89920

resolution: out of date
2009-06-30 11:27:45tbleiercreate