[IronPython] [IP 0.9.2] Mono 1.1.9.1 weirdness

Keith J. Farmer kfarmer at thuban.org
Sat Oct 1 06:05:57 CEST 2005


Has someone checked 1.1.9.1 with IronPython 0.9.2?
Under Mono, it's emitting a character on each key-down/key-up event, and
isn't holding control.  See the following:

.NET 2.0b2: (bat) IronPythonConsole -X:TabCompletion -X:ColorfulConsole
IronPython 0.9.2 on .NET 2.0.50215.44
Copyright (c) Microsoft Corporation. All rights reserved.
>>> ^Z

Mono 1.1.9.1: (bat) mono "%IRONPYTHON_HOME%\IronPythonConsole.exe"
-X:TabCompletion -X:ColorfulConsole
IronPython 0.9.2 on .NET 2.0.50215.16
Copyright (c) Microsoft Corporation. All rights reserved.
>>> ^?^Z^Z^?
Traceback (most recent call last):
in <0x00029> IronPython.Hosting.PythonEngine:ParseText (System.String
text, Boolean endOfInput)
in <0x000ab> IronPython.AST.Parser:parseStmt ()
in <0x0002a> IronPython.AST.Parser:parseSimpleStmt ()
in <0x00272> IronPython.AST.Parser:parseSmallStmt ()
in <0x0005d> IronPython.AST.Parser:parseExprStmt ()
in <0x0002d> IronPython.AST.Parser:parseTestListAsExpr ()
in <0x0005f> IronPython.AST.Parser:parseTestList
(System.BooleantrailingComma)
in <0x0003d> IronPython.AST.Parser:parseTest ()
in <0x00013> IronPython.AST.Parser:parseAndTest ()
in <0x00069> IronPython.AST.Parser:parseNotTest ()
in <0x00023> IronPython.AST.Parser:parseComparison ()
in <0x0000c> IronPython.AST.Parser:parseExpr ()
in <0x0002a> IronPython.AST.Parser:parseExpr (Int32 precedence)
in <0x0010d> IronPython.AST.Parser:parseFactor ()
in <0x00013> IronPython.AST.Parser:parsePower ()
in <0x00180> IronPython.AST.Parser:parsePrimary ()
SyntaxError: unexpected token bad character ' ' at <string>:1
>>>
()
>>> 

Mono 1.1.9.1: (command line) mono
"%IRONPYTHON_HOME%\IronPythonConsole.exe" -X:TabCompletion
-X:ColorfulConsole
Traceback (most recent call last):
in <0x0008e>
IronPythonConsole.PythonCommandLine:RunFile(IronPython.Hosting.Pyt
honEngine engine, System.String filename)
in <0x00012>
IronPython.Hosting.PythonEngine:RunFileInNewModule(System.String
fileName)
in <0x00030>
IronPython.Hosting.PythonEngine:RunFileInNewModule(System.String
fileName, System.String moduleName)
in <0x0001c> IronPython.AST.Parser:fromFile (System.String filename)
in <0x00021> System.IO.File:OpenRead (System.String path)
in (wrapper remoting-invoke-with-check)
System.IO.FileStream:.ctor(string,System.IO.FileMode,System.IO.FileAcces
s,System.IO.FileShare)
in <0x0001f> System.IO.FileStream:.ctor (System.String name, FileMode
mode, File Access access, FileShare share)
in <0x000ed> System.IO.FileStream:.ctor (System.String name, FileMode
mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean
isAsync, Boolean anonymous)
in <0x0005e> System.IO.Directory:Exists (System.String path)
System.IO.IOException: Win32 IO returned ERROR_INVALID_NAME. Path: -X:

Mono 1.1.9.1: (command line) mono
"%IRONPYTHON_HOME%\IronPythonConsole.exe" 
[10] # > mono IronPythonConsole.exe
IronPython 0.9.2 on .NET 2.0.50215.16
Copyright (c) Microsoft Corporation. All rights reserved.
>>> ^Z

-----
Keith J. Farmer // kfarmer at thuban.org




More information about the Ironpython-users mailing list