<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] sys.args[0] dissapears in ipy-script compiled with pyc.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] sys.args[0] dissapears in ipy-script compiled with pyc.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New comment] sys.args[0] dissapears in ipy-script compiled with pyc.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[New comment] sys.args[0] dissapears in ipy-script compiled with pyc.py</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_5">5. <span class="tocTitle">[New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_6">6. <span class="tocTitle">[New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_7">7. <span class="tocTitle">[New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_8">8. <span class="tocTitle">[New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_9">9. <span class="tocTitle">[New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_10">10. <span class="tocTitle">[New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_11">11. <span class="tocTitle">[Status update] Compiling issue in IronPython 2.7.2 RC 1</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_12">12. <span class="tocTitle">[New issue] Import does not search current working directory</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_13">13. <span class="tocTitle">[New comment] Import does not search current working directory</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_14">14. <span class="tocTitle">[New comment] Import does not search current working directory</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_15">15. <span class="tocTitle">[New comment] zipimport does not search current working directory</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_16">16. <span class="tocTitle">[New comment] zipimport does not search current working directory</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_17">17. <span class="tocTitle">[Status update] zipimport does not search current working directory</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_18">18. <span class="tocTitle">[New issue] Fatal app exit on import uuid</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_19">19. <span class="tocTitle">[New comment] Fatal app exit on import uuid</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] sys.args[0] 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>"Is there any problem that the args[0] will be the executable rather than a .py?"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] sys.args[0] 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 think the .exe-path as argv[0] should be not be problem.<br />I think that should be considered in terms of compatibility with CPython (and C/C++). In these environments argv[1] ... argv[n] are always the "real" commandline arguments, whereas argv[0] is always "the program", usually identical to the way the program was effectively called (on the command line, by a link or whatever).<br />So:<br />argv[0] should give infos about the way the script/program is called, at least it should allow to extract the script name, possibly by using os.path.basename / os.path.dirname / os.path.splitext.<br />argv[1] ... argv[n] should be the "real" arguments<br /><br />If I have script fileCopy.py, copying file source to file target, then fileCopy.py should be able to copy file argv[1] to file argv[2] regardless of whether the command line reads:<br /><br /> ipy fileCopy.py infileName outFileName<br />or<br /> fileCopy.exe inFileName outFileName<br />or simply<br /> fileCopy inFileName outFileName<br /> <br /><br />"</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [New comment] sys.args[0] 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>"... addition to last comment.<br /><br />In CPython these conditions are met with direct execution (python fileCopy.py ...) as well as with execution of a frozen script (fileCopy.exe ...)<br />"</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [New comment] sys.args[0] 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>"Fixed in c0ec50a"</p></div><div class="topic"><a name="toc_issue_5"></a><div class="topicHeader"><span class="topicTitle">5. [New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <a href="http://ironpython.codeplex.com/workitem/32345">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Can you attach your test script just to make sure there is not something I am missing?"</p></div><div class="topic"><a name="toc_issue_6"></a><div class="topicHeader"><span class="topicTitle">6. [New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <a href="http://ironpython.codeplex.com/workitem/32345">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Actually, now that I look at this issue again, you are saying that only the version of pyc.py that comes with the binaries of the RC1 shows this issue? If you use the installer, it does not?"</p></div><div class="topic"><a name="toc_issue_7"></a><div class="topicHeader"><span class="topicTitle">7. [New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <a href="http://ironpython.codeplex.com/workitem/32345">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"I can't reproduce this issue with the binaries. Can you verify that you don't have another IronPython installation in your path, or that the IronPython DLL's from an older version are not in the GAC?"</p></div><div class="topic"><a name="toc_issue_8"></a><div class="topicHeader"><span class="topicTitle">8. [New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <a href="http://ironpython.codeplex.com/workitem/32345">view online</a></div><p>User krysros has commented on the issue:</p><p>""IronPython DLL's from an older version are not in the GAC?"<br /><br />Perhaps this caused this issue. I tried again IronPython 2.7.2 RC 1 Binaries and it works. Now I have installed IronPython 2.7.2 RC 1 Installer version, I did not add path to IronPython to PATH variable. I'm using absolute paths as above.<br /><br />"you are saying that only the version of pyc.py that comes with the binaries of the RC1 shows this issue? If you use the installer, it does not?"<br /><br />Exactly.<br /><br />"Can you attach your test script"<br /><br />It's not a test of pyc.py, it's just an example. Script in the attachment."</p></div><div class="topic"><a name="toc_issue_9"></a><div class="topicHeader"><span class="topicTitle">9. [New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <a href="http://ironpython.codeplex.com/workitem/32345">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"I think this is not an issue then, correct?"</p></div><div class="topic"><a name="toc_issue_10"></a><div class="topicHeader"><span class="topicTitle">10. [New comment] Compiling issue in IronPython 2.7.2 RC 1</span> <a href="http://ironpython.codeplex.com/workitem/32345">view online</a></div><p>User krysros has commented on the issue:</p><p>"Corrent. To close."</p></div><div class="topic"><a name="toc_issue_11"></a><div class="topicHeader"><span class="topicTitle">11. [Status update] Compiling issue in IronPython 2.7.2 RC 1</span> <a href="http://ironpython.codeplex.com/workitem/32345">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 />"Not a bug"</p></div><div class="topic"><a name="toc_issue_12"></a><div class="topicHeader"><span class="topicTitle">12. [New issue] Import does not search current working directory</span> <a href="http://ironpython.codeplex.com/workitem/32352">view online</a></div><p>User mchalkley has proposed the issue:</p><p>"According to http://docs.python.org/tutorial/modules.html, import includes the current working directory in its search path by default.<br /><br />Ironpython does not appear to do so."</p></div><div class="topic"><a name="toc_issue_13"></a><div class="topicHeader"><span class="topicTitle">13. [New comment] Import does not search current working directory</span> <a href="http://ironpython.codeplex.com/workitem/32352">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"Please attach a test script to reproduce."</p></div><div class="topic"><a name="toc_issue_14"></a><div class="topicHeader"><span class="topicTitle">14. [New comment] Import does not search current working directory</span> <a href="http://ironpython.codeplex.com/workitem/32352">view online</a></div><p>User mchalkley has commented on the issue:</p><p>"It appears the problem lies with zipimport, which would explain some of the earlier confusion.<br /><br />A script consisting simply of "import testlib" works, assuming testlib is a file named testlib.py and located in the same directory as the exe. <br /><br />If testlib is a zip file named testlib.zip, it doesn't work."</p></div><div class="topic"><a name="toc_issue_15"></a><div class="topicHeader"><span class="topicTitle">15. [New comment] zipimport does not search current working directory</span> <a href="http://ironpython.codeplex.com/workitem/32352">view online</a></div><p>User slide_o_mix has commented on the issue:</p><p>"I don't think zip files are automatically searched on CPython either."</p></div><div class="topic"><a name="toc_issue_16"></a><div class="topicHeader"><span class="topicTitle">16. [New comment] zipimport does not search current working directory</span> <a href="http://ironpython.codeplex.com/workitem/32352">view online</a></div><p>User mchalkley has commented on the issue:</p><p>"You're correct - the behavior is the same as CPython.<br /><br />This issue can be closed."</p></div><div class="topic"><a name="toc_issue_17"></a><div class="topicHeader"><span class="topicTitle">17. [Status update] zipimport does not search current working directory</span> <a href="http://ironpython.codeplex.com/workitem/32352">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 />"Not a bug."</p></div><div class="topic"><a name="toc_issue_18"></a><div class="topicHeader"><span class="topicTitle">18. [New issue] Fatal app exit on import uuid</span> <a href="http://ironpython.codeplex.com/workitem/32355">view online</a></div><p>User ned14 has proposed the issue:</p><p>"The below says it all:<br /><br />G:\BEurtle\BEXML>ipy<br />IronPython 2.7.2rc1 (2.7.0.40) on .NET 4.0.30319.261 (32-bit)<br />Type "help", "copyright", "credits" or "license" for more information.<br />>>> import uuid<br />Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.<br /> at IronPython.Modules.NativeFunctions.LoadLibrary(String lpFileName)<br /> at IronPython.Modules.NativeFunctions.LoadDLL(String filename, Int32 flags)<br /> at IronPython.Modules.CTypes.LoadLibrary(String library, Int32 mode)<br /> at Microsoft.Scripting.Interpreter.FuncCallInstruction`3.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.LightLambda.Run5[T0,T1,T2,T3,T4,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)<br /> at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)<br /> at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.LightLambda.Run5[T0,T1,T2,T3,T4,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)<br /> at IronPython.Compiler.Ast.CallExpression.Invoke2Instruction.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)<br /> at Microsoft.Scripting.Interpreter.FuncCallInstruction`9.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.LightLambda.Run5[T0,T1,T2,T3,T4,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)<br /> at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3)<br /> at IronPython.Runtime.Types.LateBoundInitBinder.FastInitSite`1.CallTarget(CallSite site, CodeContext context, Object inst, T0 arg0)<br /> at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)<br /> at IronPython.Runtime.Types.PythonType.FastTypeSite`1.CallTarget(CallSite site, CodeContext context, Object type, T0 arg0)<br /> at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)<br /> at Microsoft.Scripting.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)<br /> at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)<br /> at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)<br /> at IronPython.Runtime.PythonContext.InitializeModule(String fileName, ModuleContext moduleContext, ScriptCode scriptCode, ModuleOptions options)<br /> at IronPython.Runtime.PythonContext.CompileModule(String fileName, String moduleName, SourceUnit sourceCode, ModuleOptions options, ScriptCode& scriptCode)<br /> at IronPython.Runtime.Importer.LoadModuleFromSource(CodeContext context, String name, String path)<br /> at IronPython.Runtime.Importer.LoadFromDisk(CodeContext context, String name, String fullName, String str)<br /> at IronPython.Runtime.Importer.ImportFromPathHook(CodeContext context, String name, String fullName, List path, Func`5 defaultLoader)<br /> at IronPython.Runtime.Importer.ImportFromPath(CodeContext context, String name, String fullName, List path)<br /> at IronPython.Runtime.Importer.ImportTopAbsolute(CodeContext context, String name)<br /> at IronPython.Runtime.Importer.ImportModule(CodeContext context, Object globals, String modName, Boolean bottom, Int32 level)<br /> at IronPython.Modules.Builtin.__import__(CodeContext context, String name, Object globals, Object locals, Object fromlist, Int32 level)<br /> at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.LightLambda.Run7[T0,T1,T2,T3,T4,T5,T6,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)<br /> at IronPython.Runtime.Importer.ImportLightThrow(CodeContext context, String fullName, PythonTuple from, Int32 level)<br /> at IronPython.Runtime.Operations.PythonOps.ImportTop(CodeContext context, String fullName, Int32 level)<br /> at Microsoft.Scripting.Interpreter.FuncCallInstruction`4.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)<br /> at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)<br /> at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)<br /> at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)<br /> at IronPython.Hosting.PythonCommandLine.RunFileWorker(String fileName)<br /> at IronPython.Hosting.PythonCommandLine.RunFile(String fileName)<br /> at Microsoft.Scripting.Hosting.Shell.CommandLine.Run()<br /> at IronPython.Hosting.PythonCommandLine.Run()<br /> at Microsoft.Scripting.Hosting.Shell.CommandLine.Run(ScriptEngine engine, IConsole console, ConsoleOptions options)<br /> at Microsoft.Scripting.Hosting.Shell.ConsoleHost.RunCommandLine()<br /> at Microsoft.Scripting.Hosting.Shell.ConsoleHost.ExecuteInternal()<br /> at PythonConsoleHost.ExecuteInternal()<br /> at Microsoft.Scripting.Hosting.Shell.ConsoleHost.Execute()<br /> at Microsoft.Scripting.Hosting.Shell.ConsoleHost.Run(String[] args)<br /> at PythonConsoleHost.Main(String[] args)<br /><br />Same problem in v2.7.1 stable.<br /><br />Niall"</p></div><div class="topic"><a name="toc_issue_19"></a><div class="topicHeader"><span class="topicTitle">19. [New comment] Fatal app exit on import uuid</span> <a href="http://ironpython.codeplex.com/workitem/32355">view online</a></div><p>User ned14 has commented on the issue:</p><p>"Attaching the traceback ..."</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>