New submission from Thomas Bleier <tho...@bleier.at>:

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)'

----------
components: Library (Lib)
messages: 89917
nosy: tbleier
severity: normal
status: open
title: platform.python_implementation does not work on IronPython
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6388>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to