<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] Pyc generates a &#42;.dll regardless of &#34;&#47;target&#58;...&#34; usage</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] Add Option To Pyc To Modify Stub EXE to load DLL from EXEs Path</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[Status update] Pyc bug&#58; parameter &#47;target will be ignored if it appears before &#47;main</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[New comment] Pyc bug&#58; parameter &#47;target will be ignored if it appears before &#47;main</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_5">5. <span class="tocTitle">[Status update] Pyc bug&#58; parameter &#47;target will be ignored if it appears before &#47;main</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_6">6. <span class="tocTitle">[New comment] Pyc bug&#58; parameter &#47;target will be ignored if it appears before &#47;main</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_7">7. <span class="tocTitle">[Status update] pyc fails if a file contains a call to unicode</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_8">8. <span class="tocTitle">[New comment] Pyc.py and FolderBrowserDialog</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_9">9. <span class="tocTitle">[Status update] pyc.py Compile of Dictionary with tuple values generates error &#34;CompileToMethod cannot compile constant&#34;</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_10">10. <span class="tocTitle">[New comment] ipy.exe &#47; pyc.py fails to create working WPF .exe on Windows Server 2008-64, .NET 4.0</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_11">11. <span class="tocTitle">[New issue] reinterpret cast of UInt32 to Int32 does not work properly</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_12">12. <span class="tocTitle">[New issue] reinterpret cast of UInt32 to Int32 does not work properly</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_13">13. <span class="tocTitle">[Status update] reinterpret cast of UInt32 to Int32 does not work properly</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_14">14. <span class="tocTitle">[Status update] Trivial&#58; IronPython.Hosting.ResourceFile appears to be dead code</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_15">15. <span class="tocTitle">[New comment] IRONPYTHONPATH not respected for pyc.py compiled assemblies</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_16">16. <span class="tocTitle">[New comment] implement clr.GetString and clr.GetBytes as helper to convert strings to and from bytes</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_17">17. <span class="tocTitle">[Status update] Improve debugging experience</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_18">18. <span class="tocTitle">[New comment] _winreg doesn&#39;t support key names which are 256 chars long</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_19">19. <span class="tocTitle">[New comment] Need a way to have a base class in an extension which is not exposed to Python</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_20">20. <span class="tocTitle">[New comment] sys.args&#91;0&#93; dissapears in ipy-script compiled with pyc.py</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_21">21. <span class="tocTitle">[New comment] sys.args&#91;0&#93; dissapears in ipy-script compiled with pyc.py</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_22">22. <span class="tocTitle">[New comment] sys.args&#91;0&#93; dissapears in ipy-script compiled with pyc.py</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_23">23. <span class="tocTitle">[New comment] compile&#40;&#39;&#35;foo&#92;n&#39;, &#39;&#60;stdin&#62;&#39;, &#39;single&#39;&#41; throws null ref exception</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_24">24. <span class="tocTitle">[New comment] Some path ops are not done through PlatformAdaptationLayer in IronPython.Runtime.Importer</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_25">25. <span class="tocTitle">[Status update] Desktop IronPython debugging failure - Error&#58; Reading old stack frames, should match 3</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 comment] Pyc generates a &#42;.dll regardless of &#34;&#47;target&#58;...&#34; usage</span> <a href="http://ironpython.codeplex.com/workitem/19456">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Fixed in 88d48b9"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] Add Option To Pyc To Modify Stub EXE to load DLL from EXEs Path</span> <a href="http://ironpython.codeplex.com/workitem/21987">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Fixed in 83d4d1f"</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [Status update] Pyc bug&#58; parameter &#47;target will be ignored if it appears before &#47;main</span> <a href="http://ironpython.codeplex.com/workitem/29696">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 in 88d48b9"</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [New comment] Pyc bug&#58; parameter &#47;target will be ignored if it appears before &#47;main</span> <a href="http://ironpython.codeplex.com/workitem/29696">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Fixed in 88d48b9<br /><br /><br /><br />** Closed by slide_o_mix 2/19/2012 3:48 AM"</p></div><div class="topic"><a name="toc_issue_5"></a><div class="topicHeader"><span class="topicTitle">5. [Status update] Pyc bug&#58; parameter &#47;target will be ignored if it appears before &#47;main</span> <a href="http://ironpython.codeplex.com/workitem/29696">view online</a></div><p>User slide_o_mix has updated the issue:</p><p>Status has changed from Closed to Proposed with the following comment, <br /><br />"Forgot to move to fixed instead of closing..."</p></div><div class="topic"><a name="toc_issue_6"></a><div class="topicHeader"><span class="topicTitle">6. [New comment] Pyc bug&#58; parameter &#47;target will be ignored if it appears before &#47;main</span> <a href="http://ironpython.codeplex.com/workitem/29696">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Fixed in 88d48b9"</p></div><div class="topic"><a name="toc_issue_7"></a><div class="topicHeader"><span class="topicTitle">7. [Status update] pyc fails if a file contains a call to unicode</span> <a href="http://ironpython.codeplex.com/workitem/26593">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 />"Works in 2.7.1"</p></div><div class="topic"><a name="toc_issue_8"></a><div class="topicHeader"><span class="topicTitle">8. [New comment] Pyc.py and FolderBrowserDialog</span> <a href="http://ironpython.codeplex.com/workitem/27118">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Can you please add a test case&#63; I am wondering if this has to do with STAThread attribute on the main of the stub exe."</p></div><div class="topic"><a name="toc_issue_9"></a><div class="topicHeader"><span class="topicTitle">9. [Status update] pyc.py Compile of Dictionary with tuple values generates error &#34;CompileToMethod cannot compile constant&#34;</span> <a href="http://ironpython.codeplex.com/workitem/29390">view online</a></div><p>User slide_o_mix has updated the issue:</p><p>Status has changed from Proposed to Closed with the following comment, <br /><br />"This works in 2.7.1"</p></div><div class="topic"><a name="toc_issue_10"></a><div class="topicHeader"><span class="topicTitle">10. [New comment] ipy.exe &#47; pyc.py fails to create working WPF .exe on Windows Server 2008-64, .NET 4.0</span> <a href="http://ironpython.codeplex.com/workitem/29028">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Have you tried on 2.7.1&#63;"</p></div><div class="topic"><a name="toc_issue_11"></a><div class="topicHeader"><span class="topicTitle">11. [New issue] reinterpret cast of UInt32 to Int32 does not work properly</span> <a href="http://ironpython.codeplex.com/workitem/32285">view online</a></div><p>User lastonogoe has proposed the issue:</p><p>"If you need to reinterpret typed unsigned integer value as signed one, the following code is supposed to use&#58;<br /><br />a &#61; UInt16.MaxValue &#35;65535, 0xFFFF<br />b &#61; Int16&#40;a&#41;              &#35;      -1, 0xFFFF<br />print b, type&#40;b&#41;<br /><br />The code works fine for pairs of UInt64&#47;Int64 and UInt16&#47;Int16. But in case of UInt32&#47;Int32 it produces unexpected result. It seems that &#34;Int32&#40;value&#41;&#34; statement behaves similar to built-in int&#40;&#41; function. More precisely, when the passed argument is bigger then max signed integer the result will be of type &#34;long&#34; and its value will be outside the integer range."</p></div><div class="topic"><a name="toc_issue_12"></a><div class="topicHeader"><span class="topicTitle">12. [New issue] reinterpret cast of UInt32 to Int32 does not work properly</span> <a href="http://ironpython.codeplex.com/workitem/32286">view online</a></div><p>User lastonogoe has proposed the issue:</p><p>"If you need to reinterpret typed unsigned integer value as signed one, the following code is supposed to use&#58;<br /><br />a &#61; UInt16.MaxValue &#35;65535, 0xFFFF<br />b &#61; Int16&#40;a&#41;              &#35;      -1, 0xFFFF<br />print b, type&#40;b&#41;<br /><br />The code works fine for pairs of UInt64&#47;Int64 and UInt16&#47;Int16. But in case of UInt32&#47;Int32 it produces unexpected result. It seems that &#34;Int32&#40;value&#41;&#34; statement behaves similar to built-in int&#40;&#41; function. More precisely, when the passed argument is bigger then max signed integer the result will be of type &#34;long&#34; and its value will be outside the integer range."</p></div><div class="topic"><a name="toc_issue_13"></a><div class="topicHeader"><span class="topicTitle">13. [Status update] reinterpret cast of UInt32 to Int32 does not work properly</span> <a href="http://ironpython.codeplex.com/workitem/32286">view online</a></div><p>User slide_o_mix has updated the issue:</p><p>Status has changed from Proposed to Closed with the following comment, <br /><br />"Duplicate of http&#58;&#47;&#47;ironpython.codeplex.com&#47;workitem&#47;32285"</p></div><div class="topic"><a name="toc_issue_14"></a><div class="topicHeader"><span class="topicTitle">14. [Status update] Trivial&#58; IronPython.Hosting.ResourceFile appears to be dead code</span> <a href="http://ironpython.codeplex.com/workitem/23717">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 />"File does not exist anymore."</p></div><div class="topic"><a name="toc_issue_15"></a><div class="topicHeader"><span class="topicTitle">15. [New comment] IRONPYTHONPATH not respected for pyc.py compiled assemblies</span> <a href="http://ironpython.codeplex.com/workitem/26706">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"What other environment variables would be useful&#63;"</p></div><div class="topic"><a name="toc_issue_16"></a><div class="topicHeader"><span class="topicTitle">16. [New comment] implement clr.GetString and clr.GetBytes as helper to convert strings to and from bytes</span> <a href="http://ironpython.codeplex.com/workitem/7159">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"StringOps.FromByteArray no longer exists&#63;"</p></div><div class="topic"><a name="toc_issue_17"></a><div class="topicHeader"><span class="topicTitle">17. [Status update] Improve debugging experience</span> <a href="http://ironpython.codeplex.com/workitem/22035">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 />"IronPython Tools deprecated in favor of Python Tools for Visual Studio"</p></div><div class="topic"><a name="toc_issue_18"></a><div class="topicHeader"><span class="topicTitle">18. [New comment] _winreg doesn&#39;t support key names which are 256 chars long</span> <a href="http://ironpython.codeplex.com/workitem/28743">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Please provide a test case if possible."</p></div><div class="topic"><a name="toc_issue_19"></a><div class="topicHeader"><span class="topicTitle">19. [New comment] Need a way to have a base class in an extension which is not exposed to Python</span> <a href="http://ironpython.codeplex.com/workitem/28891">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Does the PythonHiddenBaseClass not work&#63;<br /><br />&#91;PythonHiddenBaseClass&#93;<br />public class Wrapper &#58; IDisposable &#123;<br /><br />&#125;<br /><br /><br /><br />&#47;&#47;&#47; &#60;summary&#62;<br />    &#47;&#47;&#47; Marks a class as being hidden from the Python hierarchy.  This is applied to the base class<br />    &#47;&#47;&#47; and then all derived types will not see the base class in their hierarchy and will not be<br />    &#47;&#47;&#47; able to access members declaredo on the base class.<br />    &#47;&#47;&#47; &#60;&#47;summary&#62;<br />    &#91;AttributeUsage&#40;AttributeTargets.Class&#41;&#93;<br />    public sealed class PythonHiddenBaseClassAttribute &#58; Attribute &#123;<br />    &#125;"</p></div><div class="topic"><a name="toc_issue_20"></a><div class="topicHeader"><span class="topicTitle">20. [New comment] sys.args&#91;0&#93; dissapears in ipy-script compiled with pyc.py</span> <a href="http://ironpython.codeplex.com/workitem/30263">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"It looks like the first argument is explicitly removed in the method called by the stub executable&#58;<br /><br />PythonOps.InitializeModule&#58;<br /><br />Dictionary&#60;string, object&#62; options &#61; new Dictionary&#60;string, object&#62;&#40;&#41;&#59;<br />options&#91;&#34;Arguments&#34;&#93; &#61; ArrayUtils.RemoveFirst&#40;Environment.GetCommandLineArgs&#40;&#41;&#41;&#59; &#47;&#47; remove the EXE<br /><br />I&#39;m not sure why this is the case."</p></div><div class="topic"><a name="toc_issue_21"></a><div class="topicHeader"><span class="topicTitle">21. [New comment] sys.args&#91;0&#93; dissapears in ipy-script compiled with pyc.py</span> <a href="http://ironpython.codeplex.com/workitem/30263">view online</a></div><p>User peterSchwalm has commented on the issue:</p><p>"I figured that out too.<br />Perhaps I would suggest, to remove the &#34;RemoveFirst&#34;, but I could not figure out if this code is also run if the code is not compiled &#40;with pyc.py&#41;. I suppose it is, because if the script is run with ipy.exe the &#34;ipy.exe&#34; is the first command line argument and it makes sense to remove it, so that the script name becomes the first entry in sys.argv.<br /><br />A &#34;good&#34; version should probably something like this&#58;<br /><br />if  &#40;runningInCompiledEnvironment ...&#41;<br />    options&#91;&#34;Arguments&#34;&#93; &#61; ArrayUtils.Environment.GetCommandLineArgs&#40;&#41;&#59; <br />else<br />    options&#91;&#34;Arguments&#34;&#93; &#61; ArrayUtils.RemoveFirst&#40;Environment.GetCommandLineArgs&#40;&#41;&#41;&#59; &#47;&#47; remove the EXE<br /><br />But I do not have an idea how &#34;runningInCompiledEnvironment&#34; could be implemented in this startup environment.<br /><br />"</p></div><div class="topic"><a name="toc_issue_22"></a><div class="topicHeader"><span class="topicTitle">22. [New comment] sys.args&#91;0&#93; dissapears in ipy-script compiled with pyc.py</span> <a href="http://ironpython.codeplex.com/workitem/30263">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"I&#39;m fairly sure that InitializeModule &#40;this override anyway&#41; is not called by anything but the pyc generated stub executable, but I will make sure."</p></div><div class="topic"><a name="toc_issue_23"></a><div class="topicHeader"><span class="topicTitle">23. [New comment] compile&#40;&#39;&#35;foo&#92;n&#39;, &#39;&#60;stdin&#62;&#39;, &#39;single&#39;&#41; throws null ref exception</span> <a href="http://ironpython.codeplex.com/workitem/30940">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"NRE comes from here&#58;<br /><br />internal static FunctionCode FromSourceUnit&#40;SourceUnit sourceUnit, PythonCompilerOptions options, bool register&#41; &#123;<br />            var code &#61; PythonContext.CompilePythonCode&#40;sourceUnit, options, ThrowingErrorSink.Default&#41;&#59;<br /><br />            return &#40;&#40;RunnableScriptCode&#41;code&#41;.GetFunctionCode&#40;register&#41;&#59;<br />        &#125;<br /><br />code is null for this statement after parsing because its an empty statement."</p></div><div class="topic"><a name="toc_issue_24"></a><div class="topicHeader"><span class="topicTitle">24. [New comment] Some path ops are not done through PlatformAdaptationLayer in IronPython.Runtime.Importer</span> <a href="http://ironpython.codeplex.com/workitem/31603">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"This looks to be fixed."</p></div><div class="topic"><a name="toc_issue_25"></a><div class="topicHeader"><span class="topicTitle">25. [Status update] Desktop IronPython debugging failure - Error&#58; Reading old stack frames, should match 3</span> <a href="http://ironpython.codeplex.com/workitem/24046">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 />"SNAP failure."</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>