<html><head><style type="text/css" media="screen">Body{font-family: Verdana;font-size:.75em;}h4{font-size:.9em;}a{color: #3a62a6;}.digest .toc {margin-bottom: 15px; padding-bottom:8px; border-bottom: 1px solid #ccc;}.digest .tocItem {margin-bottom: 15px;}.tocItem a{color:#000;text-decoration: none;}.tocItem a:hover{color: #3a62a6;text-decoration: underline;}.topic{padding-bottom: 8px;margin-bottom: 20px; border-bottom: 1px solid #ccc;}.topicHeader{margin-bottom:10px;}.topicTitle{font-weight: bold;}.replies p{margin:0;padding:0;}.replies hr{width: 15%;text-align: left;margin: 0 auto 5px 0;border: none 0;border-top: 1px solid #ccc;height: 1px;}.reply{margin-bottom: 6px;padding-bottom: 4px;}.anchorMarker{color: #3a62a6;}.footer{color: gray;}</style></head><body><div class="digest"><p>Hi ironpython,</p><p>Here's your Daily Digest of new issues for project "<a href="http://ironpython.codeplex.com/">IronPython</a>".</p><p>In today's digest:</p><h4>ISSUES</h4><div class="toc"><div class="tocItem"><a href="#toc_issue_1">1. <span class="tocTitle">[New issue] Deriving from C&#35; class and interfaces</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] IP 2.7.1 xml.etree.Elementree&#35;iterparse is not working</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div></div><h4>ISSUES</h4><div class="topic"><a name="toc_issue_1"></a><div class="topicHeader"><span class="topicTitle">1. [New issue] Deriving from C&#35; class and interfaces</span> <a href="http://ironpython.codeplex.com/workitem/32166">view online</a></div><p>User kvncode has proposed the issue:</p><p>"With IronPython 2.6.2 I can&#39;t seem to derive from a C&#35; base class and implement an interface. It seems in this case the property &#39;Name&#39; does not get attached to the derived type as &#39;get_Name&#39;, which is how the interface will access the property in C&#35;. <br /><br />&#42;&#42;&#42;&#42; C&#35;<br />namespace superclasstest2<br />&#123;<br />&#9;public interface IAnimal<br />&#9;&#123;<br />&#9;&#9;string Name&#123; get&#59; &#125;<br />&#9;&#125;<br /><br /><br />&#9;public class Animal<br />&#9;&#123;<br />&#9;&#9;public virtual string Name<br />&#9;&#9;&#123;<br />&#9;&#9;&#9;get &#123; return &#34;animal&#34;&#59; &#125;<br />&#9;&#9;&#125;<br />&#9;&#125;<br /><br />&#9;public static class proc<br />&#9;&#123;<br />&#9;&#9;public static string who&#40;IAnimal animal&#41;<br />&#9;&#9;&#123;<br />&#9;&#9;&#9;return animal.Name&#59;<br />&#9;&#9;&#125;<br />&#9;&#125;<br />&#125;<br /><br />&#42;&#42;&#42;&#42; IronPython<br />import clr<br />clr.AddReferenceToFile&#40;&#34;superclasstest2.dll&#34;&#41;<br /><br />import superclasstest2 as s<br /><br />class dog&#40;s.Animal, s.IAnimal&#41;&#58;<br />    def __new__&#40;cls&#41;&#58;<br />        return s.Animal.__new__&#40;cls&#41;<br />        <br />    def __init__&#40;self&#41;&#58;<br />        print &#34;i am dog&#34;<br />        <br />        <br />d &#61; dog&#40;&#41;<br />print dir&#40;d&#41;<br />print &#34;call&#34;,s.proc.who&#40;d&#41;<br /><br /><br />&#42;&#42;&#42;&#42; Output<br />i am dog<br />&#91;&#39;Equals&#39;, &#39;GetHashCode&#39;, &#39;GetType&#39;, &#39;MemberwiseClone&#39;, &#39;Name&#39;, &#39;ReferenceEquals&#39;, &#39;ToString&#39;, &#39;__class__&#39;, &#39;__delattr__&#39;, &#39;__dict__&#39;, &#39;__doc__&#39;, &#39;__format__&#39;, &#39;__getattribute__&#39;, &#39;__hash__&#39;, &#39;__i<br />nit__&#39;, &#39;__module__&#39;, &#39;__new__&#39;, &#39;__reduce__&#39;, &#39;__reduce_ex__&#39;, &#39;__repr__&#39;, &#39;__setattr__&#39;, &#39;__sizeof__&#39;, &#39;__str__&#39;, &#39;__subclasshook__&#39;, &#39;__weakref__&#39;&#93;<br />callTraceback &#40;most recent call last&#41;&#58;<br />  File &#34;&#60;stdin&#62;&#34;, line 1, in &#60;module&#62;<br />  File &#34;C&#58;&#92;Workspace&#92;KRS&#92;myIronPython&#92;supertest.py&#34;, line 16, in &#60;module&#62;<br />AttributeError&#58; &#39;dog&#39; object has no attribute &#39;get_Name&#39;"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] IP 2.7.1 xml.etree.Elementree&#35;iterparse is not working</span> <a href="http://ironpython.codeplex.com/workitem/31923">view online</a></div><p>User pekkaklarck has commented on the issue:</p><p>"It is somewhat weird that this is broken because nowadays IronPython ought to contain a working elementtree implementation &#91;1&#93; that is also available at &#91;2&#93;. What is really weird that this module works fine if I install it separately.<br /><br />&#91;1&#93; http&#58;&#47;&#47;ironpython.codeplex.com&#47;workitem&#47;31579<br />&#91;2&#93; http&#58;&#47;&#47;effbot.org&#47;zone&#47;element-index.htm"</p></div><div class="footer"><p>You are receiving this email because you subscribed to notifications on CodePlex.</p><p>To report a bug, request a feature, or add a comment, visit <a href="http://ironpython.codeplex.com/workitem/list/basic">IronPython Issue Tracker</a>. You can <a href="https://ironpython.codeplex.com/subscriptions/workitem/project/edit">unsubscribe or change your issue notification settings</a> on CodePlex.com.</p></div></div></body></html>