There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
sys.version is incomplete in user created engine, creating problems in platform.py
I've hit a bug where I can't use the platform.python_implementation() function in code running under a user created Python engine, because sys.version is "2.7.1 ()" instead of "2.7.1 (IronPython 2.7.1 (126.96.36.199) on .NET 4.0.30319.239)",
and the platform module can't parse that.
from IronPython.Hosting import Python
CODE = """
print "Version:", sys.version
print "Implementation:", platform.python_implementation()
engine = Python.CreateEngine()