[issue8964] platform._sys_version does not parse correctly IronPython 2.x version

Martin Matusiak report at bugs.python.org
Sat Oct 19 07:06:21 CEST 2013


Martin Matusiak added the comment:

It seems the versions of IronPython 1.0 mentioned in test cases do actually support the "in" keyword, so the first version of the patch is probably sufficient.

Example session:

>>> sys.version
IronPython 1.0.60816 on .NET 2.0.50727.3643
>>> "IronPython" in sys.version
True
>>> sys.version.startswith("IronPython")
True

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8964>
_______________________________________


More information about the Python-bugs-list mailing list