In the Trac installer it has the following code which works in CPython, but not IronPython
min_python = (2,4)
if sys.version_info < min_python:
print "Trac requires Python %d.%d or later" % min_python
This evaluates to False on IronPython and True on CPython
CPython:
import sys
min_python = (2,4)
if sys.version_info < min_python:
... print "You fail"
...
IronPython:
IronPython 2.7.2 (2.7.0.40) on .NET 4.0.30319.17020 (64-bit)
Type "help", "copyright", "credits" or "license" for more information.
import sys
min_python = (2,4)
if sys.version_info < min_python:
... print "You fail"
...
You fail