[Ironpython-users] IronPython, Daily Digest 3/4/2013

CodePlex no_reply at codeplex.com
Tue Mar 5 09:24:29 CET 2013


Hi ironpython,

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

In today's digest:ISSUES

1. [New issue] TrySetMember called when attaching handler to event

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

ISSUES

1. [New issue] TrySetMember called when attaching handler to event
http://ironpython.codeplex.com/workitem/33838
User MichaelBaker has proposed the issue:

"#----------------------------------------------------------------------------------------------------
IP VERSION AFFECTED: 2.7
BUILD TYPE: All
FLAGS PASSED TO IPY.EXE: None
OPERATING SYSTEM: 64 & 32-bit Windows 7 
CLR VERSION: .NET 4.0

#----------------------------------------------------------------------------------------------------
BRIEF DESCRIPTION:

Under IronPython 2.6.1 RC1 if a C# class implements both DynamicObject, and INotifyPropertyChanged when attaching to the PropertyChange event from IronPython _TrySetMember_ is not called. 

Under IronPython 2.7.3 _TrySetMember_ is called.

In both cases the event is attached to, but 2.7.3 incurs the additional call to TrySetMember.
Is this by design?


#----------------------------------------------------------------------------------------------------
REPRODUCTION SNIPPET

See attached. 

Output under __IronPython 2.6.1 RC1__

```
ipy.exe attach.py_
Done
```

Output under __IronPython 2.7.3__

```
ipy.exe attach.py
TrySetMember PropertyChanged
Property changed PropertyChanged
Done
```"
----------------------------------------------



----------------------------------------------
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/20130305/901f09bd/attachment.html>


More information about the Ironpython-users mailing list