<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 issue] importing numpy within  C&#35;</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[Status update] importing numpy within  C&#35;</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[Status update] IronPython does not support marshaling of python code objects</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[New comment] IP2.6.2&#58; embeded - sys.builtin_modules not loaded</span>&nbsp;<span class="anchorMarker">&darr;</span></a></div><div class="tocItem"><a href="#toc_issue_5">5. <span class="tocTitle">[New comment] ValueError&#58; unmarshallable object</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 issue] importing numpy within  C&#35;</span> <a href="http://ironpython.codeplex.com/workitem/31953">view online</a></div><p>User svaha1728 has proposed the issue:</p><p>"From the interactive python window I can import numpy and use it just fine.<br /><br />Within C&#35; however, I am having troubles getting it to import correctly.<br /><br />I&#39;m using&#58;<br />            string programPath &#61; Path.Combine&#40;rootDir, &#40;string&#41;args&#91;0&#93;&#41;&#59;<br />            Dictionary&#60;string, object&#62; options &#61; new Dictionary&#60;string, object&#62;&#40;&#41;&#59;<br />            options&#91;&#34;Debug&#34;&#93; &#61; true&#59;<br />            ScriptEngine engine &#61; Python.CreateEngine&#40;options&#41;&#59;<br />            List argList &#61; new List&#40;&#41;&#59;<br />            argList.extend&#40;args&#41;&#59;<br />            ScriptScope sys &#61; Python.GetSysModule&#40;engine&#41;&#59;<br />            sys.SetVariable&#40;&#34;argv&#34;, argList&#41;&#59;<br />            var sp &#61; engine.GetSearchPaths&#40;&#41;&#59;<br />            sp.Add&#40;&#64;&#34;c&#58;&#92;Program Files&#92;IronPython2.7.1&#34;&#41;&#59;<br />            sp.Add&#40;&#64;&#34;c&#58;&#92;Program Files&#92;IronPython 2.7.1&#92;DLLs&#34;&#41;&#59;<br />            sp.Add&#40;&#64;&#34;c&#58;&#92;Program Files&#92;IronPython 2.7.1&#92;Lib&#34;&#41;&#59;<br />            sp.Add&#40;&#64;&#34;c&#58;&#92;Program Files&#92;IronPython 2.7.1&#92;Lib&#92;site-packages&#34;&#41;&#59;<br />            engine.SetSearchPaths&#40;sp&#41;&#59;            <br />            ScriptSource source &#61; engine.CreateScriptSourceFromFile&#40;programPath&#41;&#59;<br />            int result &#61; source.ExecuteProgram&#40;&#41;&#59;<br /><br />The python file&#58;<br /><br />import sys<br />sys.path.append&#40;r&#39;c&#58;&#92;Program Files&#92;IronPython2.7.1&#39;&#41;<br />sys.path.append&#40;r&#39;c&#58;&#92;Program Files&#92;IronPython 2.7.1&#92;DLLs&#39;&#41;<br />sys.path.append&#40;r&#39;c&#58;&#92;Program Files&#92;IronPython 2.7.1&#92;Lib&#39;&#41;<br />sys.path.append&#40;r&#39;c&#58;&#92;Program Files&#92;IronPython 2.7.1&#92;Lib&#92;site-packages&#39;&#41;<br />print &#34;Running&#33;&#34;<br />import numpy<br /><br /><br />My response in the console window is as follows&#58;<br /><br />Running&#33;<br />Command line arguments &#91;&#39;program.py&#39;&#93;<br />  File &#34;c&#58;&#92;Program Files&#92;IronPython 2.7.1&#92;Lib&#92;os.py&#34;, line 754<br />                bs &#61; b&#34;&#34;<br /><br />                      &#94;<br />SyntaxError&#58; invalid syntax<br /><br /><br />I also tried this with Python 2.7 and had the same result. Where am I going wrong&#63;"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [Status update] importing numpy within  C&#35;</span> <a href="http://ironpython.codeplex.com/workitem/31953">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 />"Please use the mailing list for questions. http&#58;&#47;&#47;mail.python.org&#47;mailman&#47;listinfo&#47;ironpython-users"</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [Status update] IronPython does not support marshaling of python code objects</span> <a href="http://ironpython.codeplex.com/workitem/31909">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 23877"</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [New comment] IP2.6.2&#58; embeded - sys.builtin_modules not loaded</span> <a href="http://ironpython.codeplex.com/workitem/30270">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Is this issue resolved then&#63;"</p></div><div class="topic"><a name="toc_issue_5"></a><div class="topicHeader"><span class="topicTitle">5. [New comment] ValueError&#58; unmarshallable object</span> <a href="http://ironpython.codeplex.com/workitem/26489">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Is your specific issue resolved for now&#63; There is another issue for marshaling of code objects already created."</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>