<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 comment] ctypes: Compatibility issue with CPython</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] xml.dom.minidom.parse not working in ironpython 2.7</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[Status update] AttributeError: 'file' object has no attribute 'readinto',but Cpython has this attribute.</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[New comment] ctypes.c_uint32 fails with TypeError when overflowed</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_5">5. <span class="tocTitle">[New comment] Automatic CLR method overload picking logic needs to be revisited.</span> <span class="anchorMarker">↓</span></a></div></div><h4>ISSUES</h4><div class="topic"><a name="toc_issue_1"></a><div class="topicHeader"><span class="topicTitle">1. [New comment] ctypes: Compatibility issue with CPython</span> <a href="http://ironpython.codeplex.com/workitem/32048">view online</a></div><p>User MarioVilas has commented on the issue:</p><p>"As a side note, I tried working around this by changing all calls to "byref" to "pointer" instead. No more Python exceptions :) but the example above still didn't work. The API call would fail and the error message indicated the structure pointer was wrong. I fixed it by changing LPVOID (an alias to c_void_p) to POINTER(OSVERSIONINFOEXA), so I didn't dig deeper into it, but there may be an additional bug related to using void pointers in "argtypes"."</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] xml.dom.minidom.parse not working in ironpython 2.7</span> <a href="http://ironpython.codeplex.com/workitem/32049">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Currently the pyexpat module is not implemented for IronPython, there is an implementation of pyexpact for FePy that can be found at fepy.sf.net. I am in the process of implementing this module natively in IronPython."</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [Status update] AttributeError: 'file' object has no attribute 'readinto',but Cpython has this attribute.</span> <a href="http://ironpython.codeplex.com/workitem/23801">view online</a></div><p>User slide_o_mix has updated the issue:</p><p>Status has changed from Active to Closed with the following comment, <br /><br />"Fixed"</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [New comment] ctypes.c_uint32 fails with TypeError when overflowed</span> <a href="http://ironpython.codeplex.com/workitem/30390">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"This is happening (at least the first case) because BigInt.AsUint32 checks if the value is <= UInt32.MaxValue, which 2**32 is not, so it returns false. What needs to happen is the value needs to be sheared to 0 in this case."</p></div><div class="topic"><a name="toc_issue_5"></a><div class="topicHeader"><span class="topicTitle">5. [New comment] Automatic CLR method overload picking logic needs to be revisited.</span> <a href="http://ironpython.codeplex.com/workitem/25859">view online</a></div><p>User JeffreySax has commented on the issue:</p><p>"Here's another issue involving overload resolution. Consider the following C# code:<br /><br />public class A {<br /> public virtual void DoSomething(A a) { Console.WriteLine("From A using A"); }<br /> public virtual void DoSomething(B b) { Console.WriteLine("From A using B"); }<br />}<br />public class B : A {<br /> public override void DoSomething(A a) { Console.WriteLine("From B using A"); }<br />}<br /><br />>>> x = A()<br />>>> y = B()<br />>>> x.DoSomething(y)<br />From A using B<br />>>> x.DoSomething(x)<br />From A using A<br />>>> y.DoSomething(x)<br />From B using A<br />>>> y.DoSomething(y)<br />Traceback (most recent call last):<br /> File "<stdin>", line 1, in <module><br />TypeError: Multiple targets could match: DoSomething(A), DoSomething(B)<br /><br />There should be no ambiguity here since y is of type B, and so the second overload should be preferred (no implicit conversion needed).<br /><br />The same sequence of calls from C# gives (correctly):<br />From A using A<br />From A using B<br />From B using A<br />From A using B<br />"</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>