<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] Include RST docs in source control, ship HTML docs</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] Support providing .NET configuration file for launching ipy.exe&#39;s app domain &#40;was Error loading mixed mode DLL&#41;</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New comment] Request&#58; change default to &#34;server gc&#34; for multithread performance</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[Status update] Creating a low-permission version of PythonEngine fails post 2.0.0</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_5">5. <span class="tocTitle">[New comment] ImportError&#58; No module named setuptools.command.easy_install</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_6">6. <span class="tocTitle">[New comment] zipimport does not correctly import submodules</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_7">7. <span class="tocTitle">[New comment] zlib fails to compress an empty string</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_8">8. <span class="tocTitle">[New comment] zlib fails to compress an empty string</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_9">9. <span class="tocTitle">[New issue] ModuleFinder not finding imports</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_10">10. <span class="tocTitle">[New comment] ModuleFinder not finding imports</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_11">11. <span class="tocTitle">[New comment] ModuleFinder not finding imports</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_12">12. <span class="tocTitle">[New issue] Patch for pyc.py</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_13">13. <span class="tocTitle">[New comment] Patch for pyc.py</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_14">14. <span class="tocTitle">[New comment] Patch for pyc.py</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_15">15. <span class="tocTitle">[New comment] Patch for pyc.py</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_16">16. <span class="tocTitle">[New comment] Patch for pyc.py</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_17">17. <span class="tocTitle">[New issue] Arithmetic expression mixing int and float literals is not working in Windows Phone</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_18">18. <span class="tocTitle">[New comment] Arithmetic expression mixing int and float literals is not working in Windows Phone</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] Include RST docs in source control, ship HTML docs</span> <a href="http://ironpython.codeplex.com/workitem/25113">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"I think so. The whole documentation system needs to be overhauled, so leave this one open."</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] Support providing .NET configuration file for launching ipy.exe&#39;s app domain &#40;was Error loading mixed mode DLL&#41;</span> <a href="http://ironpython.codeplex.com/workitem/26165">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"Looks like &#35;31383 was a dup for this one, but it got fixed instead. Either way, this is fixed in 2.7.2."</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [New comment] Request&#58; change default to &#34;server gc&#34; for multithread performance</span> <a href="http://ironpython.codeplex.com/workitem/25712">view online</a></div><p>User jdhardy has commented on the issue:</p><p>"I wonder if this is still the case on .NET 4. Either way, I assume MS has their reasons for the defaults, and users can just change it themselves.<br /><br />It could perhaps be an install-time option, but that&#39;s as far as I would go."</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [Status update] Creating a low-permission version of PythonEngine fails post 2.0.0</span> <a href="http://ironpython.codeplex.com/workitem/24475">view online</a></div><p>User jdhardy has updated the issue:</p><p>Status has changed from Active to Closed with the following comment, <br /><br />"Duplicate of &#91;workitem&#58;24101&#93;."</p></div><div class="topic"><a name="toc_issue_5"></a><div class="topicHeader"><span class="topicTitle">5. [New comment] ImportError&#58; No module named setuptools.command.easy_install</span> <a href="http://ironpython.codeplex.com/workitem/22659">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Fixed in f975d2f"</p></div><div class="topic"><a name="toc_issue_6"></a><div class="topicHeader"><span class="topicTitle">6. [New comment] zipimport does not correctly import submodules</span> <a href="http://ironpython.codeplex.com/workitem/32274">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Fixed in f975d2f"</p></div><div class="topic"><a name="toc_issue_7"></a><div class="topicHeader"><span class="topicTitle">7. [New comment] zlib fails to compress an empty string</span> <a href="http://ironpython.codeplex.com/workitem/31976">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"This looks like something weird going on inside the zlib library being used. The normal zlib doesn&#39;t fail &#40;I am trying to replicate this scenario with normal zlib to look for implementation differences.&#41;"</p></div><div class="topic"><a name="toc_issue_8"></a><div class="topicHeader"><span class="topicTitle">8. [New comment] zlib fails to compress an empty string</span> <a href="http://ironpython.codeplex.com/workitem/31976">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"This looks to be because the zlib.net implementation is returning Z_DATA_ERROR instead of Z_BUF_ERROR in a couple locations. I&#39;ve only found two so far, there could be more."</p></div><div class="topic"><a name="toc_issue_9"></a><div class="topicHeader"><span class="topicTitle">9. [New issue] ModuleFinder not finding imports</span> <a href="http://ironpython.codeplex.com/workitem/32371">view online</a></div><p>User ned14 has proposed the issue:</p><p>"I have a simple script which imports a few bits and pieces as it&#39;s a unit test. I then have another python script load that script using ModuleFinder, determine its imports and feed the entire lot to ipy64.exe pyc.py to build a standalone binary.<br /><br />This works fine in CPython, but IronPython sees only the module specified to ModuleFinder&#40;&#41;.run_script&#40;&#41;. Is this expected&#63;<br /><br />For now I can work around the problem by telling CPython to use the customised runtime libraries supplied with IronPython for package resolution, and CPython&#39;s ModuleFinder&#40;&#41; appears to return the right stuff.<br /><br />Indeed then the only problem remaining is that the standalone executable doesn&#39;t bundle _codecs by the looks of things, which causes&#58;<br /><br />Traceback &#40;most recent call last&#41;&#58;<br />  File &#34;G&#58;&#92;BEurtle&#92;BEXML&#92;tests&#92;TestParseBErepoWithLib.py&#34;, line 32, in test<br />    issue.status<br />  File &#34;libBEXML&#92;issue&#34;, line 149, in __getattr__<br />  File &#34;libBEXML&#92;parsers&#92;be_dir&#34;, line 113, in load<br />  File &#34;codecs&#34;, line 884, in open<br />LookupError&#58; unknown encoding&#58; UTF-8<br /><br />I&#39;m not sure if that&#39;s my bug or your bug yet, so if I can&#39;t fix it I&#39;ll report that separately.<br /><br />Niall"</p></div><div class="topic"><a name="toc_issue_10"></a><div class="topicHeader"><span class="topicTitle">10. [New comment] ModuleFinder not finding imports</span> <a href="http://ironpython.codeplex.com/workitem/32371">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Please attach a test to reproduce the issue."</p></div><div class="topic"><a name="toc_issue_11"></a><div class="topicHeader"><span class="topicTitle">11. [New comment] ModuleFinder not finding imports</span> <a href="http://ironpython.codeplex.com/workitem/32371">view online</a></div><p>User ned14 has commented on the issue:</p><p>"Feed any small python program into the attached script. It will iterate the imports and assemble them into a standalone EXE.<br /><br />Run it under CPython and it prints all the imports, as expected.<br /><br />Run it under IronPython and you get main.py, and nothing else.<br />"</p></div><div class="topic"><a name="toc_issue_12"></a><div class="topicHeader"><span class="topicTitle">12. [New issue] Patch for pyc.py</span> <a href="http://ironpython.codeplex.com/workitem/32372">view online</a></div><p>User ned14 has proposed the issue:</p><p>"Here&#39;s a patch for pyc.py adding a &#47;files&#58; parameter&#58;<br /><br />--- G&#58;&#92;Program Files&#92;IronPython 2.7.2 RC1&#92;Tools&#92;Scripts&#92;pyc.py&#9;2012-03-07 18&#58;58&#58;45.000000000 -0000<br />&#43;&#43;&#43; G&#58;&#92;BEurtle&#92;BEXML&#92;ironpython&#92;pyc.py&#9;2012-03-07 21&#58;16&#58;01.000000000 -0000<br />&#64;&#64; -20,12 &#43;20,13 &#64;&#64;<br /> <br /> Options&#58;<br />     &#47;out&#58;output_file                          Output file name &#40;default is main_file.&#60;extenstion&#62;&#41;<br />     &#47;target&#58;dll                               Compile only into dll.  Default<br />     &#47;target&#58;exe                               Generate console executable stub for startup in addition to dll.<br />     &#47;target&#58;winexe                            Generate windows executable stub for startup in addition to dll.<br />&#43;    &#47;files&#58;input_file                         Read to read files from, one per line.<br />     &#47;&#63; &#47;h                                     This message<br /> <br /> EXE&#47;WinEXE specific options&#58;<br />     &#47;main&#58;main_file.py                        Main file of the project &#40;module to be executed first&#41;<br />     &#47;platform&#58;x86                             Compile for x86 only<br />     &#47;platform&#58;x64                             Compile for x64 only<br />&#64;&#64; -209,12 &#43;210,16 &#64;&#64;<br /> <br />         elif arg.startswith&#40;&#34;&#47;embed&#34;&#41;&#58;<br />             embed &#61; True<br /> <br />         elif arg.startswith&#40;&#34;&#47;standalone&#34;&#41;&#58;<br />             standalone &#61; True<br />&#43;&#9;&#9;&#9;<br />&#43;        elif arg.startswith&#40;&#34;&#47;files&#58;&#34;&#41;&#58;<br />&#43;            with open&#40;arg&#91;7&#58;&#93;, &#39;r&#39;&#41; as ih&#58;<br />&#43;                files&#43;&#61;&#91;x&#91;&#58;-1&#93; for x in ih.readlines&#40;&#41;&#93;<br /> <br />         elif arg in &#91;&#34;&#47;&#63;&#34;, &#34;-&#63;&#34;, &#34;&#47;h&#34;, &#34;-h&#34;&#93;&#58;<br />             print __doc__<br />             sys.exit&#40;0&#41;<br /> <br />         else&#58;<br /><br /><br />You may also find the answer I posted to Stackoverflow at http&#58;&#47;&#47;stackoverflow.com&#47;questions&#47;1578010&#47;ironpython-2-6-py-exe&#47;9609120&#35;9609120 of interest.<br /><br />Niall"</p></div><div class="topic"><a name="toc_issue_13"></a><div class="topicHeader"><span class="topicTitle">13. [New comment] Patch for pyc.py</span> <a href="http://ironpython.codeplex.com/workitem/32372">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Generally speaking, its better to fork the git repo to your own, make the mod, push and then issue a pull request.  This patch will not apply to master."</p></div><div class="topic"><a name="toc_issue_14"></a><div class="topicHeader"><span class="topicTitle">14. [New comment] Patch for pyc.py</span> <a href="http://ironpython.codeplex.com/workitem/32372">view online</a></div><p>User ned14 has commented on the issue:</p><p>"Even for such a tiny patch&#63; Seems overkill."</p></div><div class="topic"><a name="toc_issue_15"></a><div class="topicHeader"><span class="topicTitle">15. [New comment] Patch for pyc.py</span> <a href="http://ironpython.codeplex.com/workitem/32372">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"We&#39;re much less likely to get to it in this format. Especially since its now manual work because it doesn&#39;t match the master branch much at all."</p></div><div class="topic"><a name="toc_issue_16"></a><div class="topicHeader"><span class="topicTitle">16. [New comment] Patch for pyc.py</span> <a href="http://ironpython.codeplex.com/workitem/32372">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Fyi, I&#39;m not saying I won&#39;t apply it, just giving the recommended approach and the easier one for me &#58;-&#41;"</p></div><div class="topic"><a name="toc_issue_17"></a><div class="topicHeader"><span class="topicTitle">17. [New issue] Arithmetic expression mixing int and float literals is not working in Windows Phone</span> <a href="http://ironpython.codeplex.com/workitem/32374">view online</a></div><p>User cmello has proposed the issue:</p><p>"The expression 2 &#43; 2 is successfully evaluated, but 2 &#43; 2.5 crashes the app.<br /><br />The expression 2.5 &#43; 2.5 is evaluated successfully.<br /><br />Please see the attached sample."</p></div><div class="topic"><a name="toc_issue_18"></a><div class="topicHeader"><span class="topicTitle">18. [New comment] Arithmetic expression mixing int and float literals is not working in Windows Phone</span> <a href="http://ironpython.codeplex.com/workitem/32374">view online</a></div><p>User cmello has commented on the issue:</p><p>"The exception thrown is ArgumentNullException. Stack trace&#58;<br /><br /><br />   at Microsoft.Scripting.Utils.ContractUtils.RequiresNotNull&#40;Object value, String paramName&#41;<br />   at Microsoft.Scripting.Utils.CollectionUtils.FindIndex&#91;T&#93;&#40;IList&#96;1 collection, Predicate&#96;1 predicate&#41;<br />   at Microsoft.Scripting.Utils.ExceptionUtils.SetData&#40;Exception e, Object key, Object value&#41;<br />   at Microsoft.Scripting.Interpreter.InterpretedFrame.SaveTraceToException&#40;Exception exception&#41;<br />   at Microsoft.Scripting.Interpreter.Interpreter.HandleException&#40;InterpretedFrame frame, Exception exception&#41;<br />   at Microsoft.Scripting.Interpreter.Interpreter.Run&#40;InterpretedFrame frame&#41;<br />   at Microsoft.Scripting.Interpreter.LightLambda.Run1&#91;T0,TRet&#93;&#40;FunctionCode arg0&#41;<br />   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget&#40;Scope scope&#41;<br />   at IronPython.Compiler.RuntimeScriptCode.Run&#40;&#41;<br />   at Microsoft.Scripting.SourceUnit.Execute&#40;&#41;<br />   at Microsoft.Scripting.Hosting.ScriptSource.Execute&#40;&#41;<br />   at Microsoft.Scripting.Hosting.ScriptEngine.Execute&#40;String expression&#41;<br />   at PhoneFloatDivision.App.Application_Startup&#40;Object sender, StartupEventArgs e&#41;<br />   at MS.Internal.CoreInvokeHandler.InvokeEventHandler&#40;Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args&#41;<br />   at MS.Internal.JoltHelper.FireEvent&#40;IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName&#41;<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>