[Ironpython-users] IronPython, Daily Digest 11/10/2011
no_reply at codeplex.com
no_reply at codeplex.com
Fri Nov 11 17:07:11 CET 2011
Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] Some nodes' name changed in Visual studio Dev11 when expand the variable from IronPython code
----------------------------------------------
ISSUES
1. [New issue] Some nodes' name changed in Visual studio Dev11 when expand the variable from IronPython code
http://ironpython.codeplex.com/workitem/31721
User Ziegler has proposed the issue:
"1. Compile the below code with: csc /debug+ /r:Microsoft.Scripting.dll /r:IronPython.dll basic01.cs
2. And open it with: devenv /debugexe basic01.exe
//basic01.cs
using Microsoft.Scripting;
using IronPython.Compiler;
using IronPython.Hosting;
class C
{
static void Main(string[] args)
{
// call PrintDynamicObject on some COM object or IDynamicObject
var sr = Python.CreateEngine();
var scope = sr.GetBuiltinModule();
var x = scope.GetVariable("max");
var code = sr.CreateScriptSourceFromString(@"
class x(object):
class_val = 5
def some_method(self): pass
a = x()
a.inst_val = 3
a.Name = 'Sree'", SourceCodeKind.Statements);
scope = sr.CreateScope();
code.Execute(scope);
dynamic y = scope.GetVariable("a");
System.Diagnostics.Debugger.Break();
After we go to the break point, then type “y” in the watch window, and expand its node.
Actual:
1. ".class" change to "_class_"
2. ".dict" removed and embedded nodes moved out
3. The node “.slots_and_weakref” removed.
Expected:
1. The name ".class" should appear
2. ".dict" and its embedded nodes should exisit
3. “.slots_and_weakref” should exisit
Additional:
1. diff picture is attached.
2. Microsoft.Scripting.dll;IronPython.dll;Microsoft.Dynamic.dll is attached."
----------------------------------------------
----------------------------------------------
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/20111111/b4b0b313/attachment.html>
More information about the Ironpython-users
mailing list