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

Marc-Andre Lemburg report at bugs.python.org
Wed Oct 16 22:49:39 CEST 2013


Marc-Andre Lemburg added the comment:

The patch looks good, except one nit:

if 'IronPython' in sys_version

is probably not supported in IronPython 2.0, since support for "n-char in m-char" tests were added after Python 2.1.

Now, you can either leave this in and remove the IronPython 2.0 support from platform.py (which is fine, IMO), or change the test to use the .find() method.

----------

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


More information about the Python-bugs-list mailing list