Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] UnboundName on invoking member for DynamicObject
2. [New issue] Fail to display WPF window containing TreeView by Python script

----------------------------------------------

ISSUES

1. [New issue] UnboundName on invoking member for DynamicObject
http://ironpython.codeplex.com/workitem/35679
User domtop has proposed the issue:

"Using IronPython 2.7.4 (nuget)

I create a very simple class derived from DynamicObject and set the breakpoint 
in TryInvokeMember

public class TestProxy : DynamicObject
{
    public override bool TryInvokeMember(InvokeMemberBinder binder, object[] 
args, out object result)
    {
        return base.TryInvokeMember(binder, args, out result);
    }
}


I create a script scope and do scope.SetVariable("test", new TestProxy());

Then I execute the string test.Something() and expected to hit the breakpoint. 
However it seems that IronPython considers Something is an attribute and call 
TryGetMember. If test is a regular C# object, everything works as usual so it 
seems to have difficulty with DynamicObject.

As I have been using DynamicObject to create proxies, I cannot use it in a 
hosted ironpython session..."-----------------

2. [New issue] Fail to display WPF window containing TreeView by Python script
http://ironpython.codeplex.com/workitem/35681
User syang has proposed the issue:

"IronPython 2.7.4 is used.  When a Python script to display a TreeView in a WPF 
window by calling the method ShowDialog, it could not display the window with 
Error message "Cannot access Freezable 'System.Windows.Media.SolidColorBrush' 
across threads because it cannot be frozen".  ScriptSource.Execute(ScriptScope) 
is called to execute the Python script.  How does method Execute() handle 
access of WPF UI Thread?"
----------------------------------------------



----------------------------------------------
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.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to