[IronPython] (no subject)

Martin Maly martmaly at exchange.microsoft.com
Mon May 23 04:46:02 CEST 2005


This is a bug that has been fixed in one of the 0.7.* releases. You can
get newest version (0.7.5) of IronPython from
http://workspaces.gotdotnet.com/ironpython

Martin

> -----Original Message-----
> From: users-ironpython.com-bounces at lists.ironpython.com 
> [mailto:users-ironpython.com-bounces at lists.ironpython.com] On 
> Behalf Of Jon Cosby
> Sent: Sunday, May 22, 2005 11:38 AM
> To: users-ironpython.com at lists.ironpython.com
> Subject: [IronPython] (no subject)
> 
> Is there something preventing me from importing from the 
> standard Python library in IronPython 0.6? I can import my 
> own modules, but get a "NotImplementedException" when 
> importing from the standard library.
> 
> 
> Jon Cosby
> 
> >>> import sys
> >>> sys.path
> ['F:\\Projects\\IronPython\\bin', 'C:\\Python23\\Lib', 
> 'F:\\Projects\\IronPython\\bin\\Projects']
> >>> import myscript
> >>> import os
> System.NotImplementedException: EmitDel: IronPython.AST.NameExpr
>    at IronPython.AST.Expr.EmitDel(CodeGen cg) in 
> f:\Projects\IronPython\IronPython\AST\Expr.cs:line 42
>    at IronPython.AST.DelStmt.Emit(CodeGen cg) in 
> f:\Projects\IronPython\IronPython\AST\Stmt.cs:line 681
>    at IronPython.AST.SuiteStmt.Emit(CodeGen cg) in 
> f:\Projects\IronPython\IronPython\AST\Stmt.cs:line 65
>    at IronPython.AST.IfStmt.Emit(CodeGen cg) in 
> f:\Projects\IronPython\IronPython\AST\Stmt.cs:line 117
>    at IronPython.AST.SuiteStmt.Emit(CodeGen cg) in 
> f:\Projects\IronPython\IronPython\AST\Stmt.cs:line 65
>    at IronPython.AST.ModuleDef.Generate(String 
> sourceFileName) in 
> f:\Projects\IronPython\IronPython\AST\ModuleDef.cs:line 71
>    at IronPython.Objects.Importer.LoadFromSource(String 
> fullName, String filename, List __path__) in 
> f:\Projects\IronPython\IronPython\Objects\module.cs:line 260
>    at IronPython.Objects.Importer.LoadFromPath(String name, 
> String fullName, List path) in 
> f:\Projects\IronPython\IronPython\Objects\module.cs:line 246
>    at IronPython.Objects.Importer.LoadTop(String name) in 
> f:\Projects\IronPython\IronPython\Objects\module.cs:line 210
>    at IronPython.Objects.Importer.ImportOne(String fullName, Boolean
> keepTop) in f:\Projects\IronPython\IronPython\Objects\module.cs:line
> 193
>    at IronPython.Objects.module.Import(String fullName, 
> Boolean keepTop) in 
> f:\Projects\IronPython\IronPython\Objects\module.cs:line 98
>    at IronPython.Objects.Ops.Import(module mod, String 
> fullName) in 
> f:\Projects\IronPython\IronPython\Objects\Ops.cs:line 1562
>    at input_3.Run(Frame frame)
>    at IronPythonConsole.IronPython.DoInteractive() in 
> f:\Projects\IronPython\IronPythonConsole\IronPython.cs:line 193
> 
> 
> _______________________________________________
> users-ironpython.com mailing list
> users-ironpython.com at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 



More information about the Ironpython-users mailing list