[issue8964] platform._sys_version does not parse correctly IronPython 2.x version
Marc-Andre Lemburg
report at bugs.python.org
Sat Oct 19 10:36:40 CEST 2013
Marc-Andre Lemburg added the comment:
On 19.10.2013 07:06, Martin Matusiak wrote:
>
> 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
In that case, I'm +1 on using both to clean up the code.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8964>
_______________________________________
More information about the Python-bugs-list
mailing list