[Ironpython-users] IronPython, Daily Digest 11/14/2011
no_reply at codeplex.com
no_reply at codeplex.com
Tue Nov 15 12:19:58 CET 2011
Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] sys.version is incomplete in user created engine, creating problems in platform.py
----------------------------------------------
ISSUES
1. [New issue] sys.version is incomplete in user created engine, creating problems in platform.py
http://ironpython.codeplex.com/workitem/31736
User adal has proposed the issue:
"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 (2.7.0.40) on .NET 4.0.30319.239)", and the platform module can't parse that.
=======================
import clr
clr.AddReference("IronPython")
from IronPython.Hosting import Python
CODE = """
import sys
import platform
print "Version:", sys.version
print "Implementation:", platform.python_implementation()
"""
engine = Python.CreateEngine()
engine.Execute(CODE)"
----------------------------------------------
----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.
To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20111115/d05b7955/attachment.html>
More information about the Ironpython-users
mailing list