<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> <span class="anchorMarker">↓</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's app domain (was Error loading mixed mode DLL)</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New comment] Request: change default to "server gc" for multithread performance</span> <span class="anchorMarker">↓</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> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_5">5. <span class="tocTitle">[New comment] ImportError: No module named setuptools.command.easy_install</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_6">6. <span class="tocTitle">[New comment] zipimport does not correctly import submodules</span> <span class="anchorMarker">↓</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> <span class="anchorMarker">↓</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> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_9">9. <span class="tocTitle">[New issue] ModuleFinder not finding imports</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_10">10. <span class="tocTitle">[New comment] ModuleFinder not finding imports</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_11">11. <span class="tocTitle">[New comment] ModuleFinder not finding imports</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_12">12. <span class="tocTitle">[New issue] Patch for pyc.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_13">13. <span class="tocTitle">[New comment] Patch for pyc.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_14">14. <span class="tocTitle">[New comment] Patch for pyc.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_15">15. <span class="tocTitle">[New comment] Patch for pyc.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_16">16. <span class="tocTitle">[New comment] Patch for pyc.py</span> <span class="anchorMarker">↓</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> <span class="anchorMarker">↓</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> <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] 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's app domain (was Error loading mixed mode DLL)</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 #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: change default to "server gc" 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'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 [workitem:24101]."</p></div><div class="topic"><a name="toc_issue_5"></a><div class="topicHeader"><span class="topicTitle">5. [New comment] ImportError: 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't fail (I am trying to replicate this scenario with normal zlib to look for implementation differences.)"</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'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'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().run_script(). Is this expected?<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's ModuleFinder() appears to return the right stuff.<br /><br />Indeed then the only problem remaining is that the standalone executable doesn't bundle _codecs by the looks of things, which causes:<br /><br />Traceback (most recent call last):<br /> File "G:\BEurtle\BEXML\tests\TestParseBErepoWithLib.py", line 32, in test<br /> issue.status<br /> File "libBEXML\issue", line 149, in __getattr__<br /> File "libBEXML\parsers\be_dir", line 113, in load<br /> File "codecs", line 884, in open<br />LookupError: unknown encoding: UTF-8<br /><br />I'm not sure if that's my bug or your bug yet, so if I can't fix it I'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's a patch for pyc.py adding a /files: parameter:<br /><br />--- G:\Program Files\IronPython 2.7.2 RC1\Tools\Scripts\pyc.py	2012-03-07 18:58:45.000000000 -0000<br />+++ G:\BEurtle\BEXML\ironpython\pyc.py	2012-03-07 21:16:01.000000000 -0000<br />@@ -20,12 +20,13 @@<br /> <br /> Options:<br /> /out:output_file Output file name (default is main_file.<extenstion>)<br /> /target:dll Compile only into dll. Default<br /> /target:exe Generate console executable stub for startup in addition to dll.<br /> /target:winexe Generate windows executable stub for startup in addition to dll.<br />+ /files:input_file Read to read files from, one per line.<br /> /? /h This message<br /> <br /> EXE/WinEXE specific options:<br /> /main:main_file.py Main file of the project (module to be executed first)<br /> /platform:x86 Compile for x86 only<br /> /platform:x64 Compile for x64 only<br />@@ -209,12 +210,16 @@<br /> <br /> elif arg.startswith("/embed"):<br /> embed = True<br /> <br /> elif arg.startswith("/standalone"):<br /> standalone = True<br />+			<br />+ elif arg.startswith("/files:"):<br />+ with open(arg[7:], 'r') as ih:<br />+ files+=[x[:-1] for x in ih.readlines()]<br /> <br /> elif arg in ["/?", "-?", "/h", "-h"]:<br /> print __doc__<br /> sys.exit(0)<br /> <br /> else:<br /><br /><br />You may also find the answer I posted to Stackoverflow at http://stackoverflow.com/questions/1578010/ironpython-2-6-py-exe/9609120#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? 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're much less likely to get to it in this format. Especially since its now manual work because it doesn'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'm not saying I won't apply it, just giving the recommended approach and the easier one for me :-)"</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 + 2 is successfully evaluated, but 2 + 2.5 crashes the app.<br /><br />The expression 2.5 + 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:<br /><br /><br /> at Microsoft.Scripting.Utils.ContractUtils.RequiresNotNull(Object value, String paramName)<br /> at Microsoft.Scripting.Utils.CollectionUtils.FindIndex[T](IList`1 collection, Predicate`1 predicate)<br /> at Microsoft.Scripting.Utils.ExceptionUtils.SetData(Exception e, Object key, Object value)<br /> at Microsoft.Scripting.Interpreter.InterpretedFrame.SaveTraceToException(Exception exception)<br /> at Microsoft.Scripting.Interpreter.Interpreter.HandleException(InterpretedFrame frame, Exception exception)<br /> at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](FunctionCode arg0)<br /> at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)<br /> at IronPython.Compiler.RuntimeScriptCode.Run()<br /> at Microsoft.Scripting.SourceUnit.Execute()<br /> at Microsoft.Scripting.Hosting.ScriptSource.Execute()<br /> at Microsoft.Scripting.Hosting.ScriptEngine.Execute(String expression)<br /> at PhoneFloatDivision.App.Application_Startup(Object sender, StartupEventArgs e)<br /> at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)<br /> at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)<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>