<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] os: missing dup() and fdopen() functions, nt.dup, nt.dup2, nt.execv,nt.execve</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] version() shows only version number when running pyc-compiled .exe</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New comment] sys.version is incomplete in user created engine, creating problems in platform.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[New comment] Discrepancy in dict __delitem__ vs CPython</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] os: missing dup() and fdopen() functions, nt.dup, nt.dup2, nt.execv,nt.execve</span> <a href="http://ironpython.codeplex.com/workitem/7267">view online</a></div><p>User paweljasinski has commented on the issue:</p><p>"<p>I have looked at dup and dup2. Here is what I have found:</p><p>From what I can tell ip builds its own layer to emulate file descriptors. That wouldn't be so bad, but it also mixes in fd from crt:</p><p>&gt;&gt;&gt; import os<br>&gt;&gt;&gt; os.pipe()<br>(3, 4)<br>&gt;&gt;&gt; f=file(r&quot;c:\tmp\bar&quot;,&quot;r&quot;)<br>&gt;&gt;&gt; f<br>&lt;open file 'c:\tmp\bar', mode 'r' at 0x03A849BF&gt;<br>&gt;&gt;&gt; f.fileno()<br>3<br>&gt;&gt;&gt;</p><p>There are 2 fds with number 3, but each is referring to different file behind.<br>So now, if you would like to dup(3), which one are we talking about, the one returned by pipe or the one referring to file?</p><p>cpython uses transparently fds returned from crt functions. open translates to _wopen, dup - dup, dup2 - dup2, pipe takes advantage of _open_osfhandle ...<br>&lt"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] version() shows only version number when running pyc-compiled .exe</span> <a href="http://ironpython.codeplex.com/workitem/30267">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"<p>Fixed in cb8abd3.&lt"</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [New comment] sys.version is incomplete in user created engine, creating problems in platform.py</span> <a href="http://ironpython.codeplex.com/workitem/31736">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"<p>Fixed (for real) in cb8abd3.&lt"</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [New comment] Discrepancy in dict __delitem__ vs CPython</span> <a href="http://ironpython.codeplex.com/workitem/33362">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"<p>This issue isn't really in __delitem__, it's in pop(). Changing out pop() to not call __delitem__ (or maybe just not call an overriden __delitem__) should be doable.&lt"</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="http://ironpython.codeplex.com/subscriptions/workitem/project/edit">unsubscribe or change your issue notification settings</a> on CodePlex.com.</p></div></div></body></html>