[IronPython] Bug in beta9?
Jörgen Stenarson
jorgen.stenarson at bostream.nu
Thu Jul 13 15:17:10 PDT 2006
Hi
I have hit a change in the behaviour that results in an exception. Is
this behaviour expected? My workaround for now is to change chr to str.
/Jörgen
file(tipy.py) used in test:
import System
readkey=System.Console.ReadKey
print "Press a key"
a=readkey(True)
print chr(a.KeyChar)
Test with beta8:
>c:\IronPython-1.0-Beta8\IronPythonConsole.exe tipy.py
Press a key
d
Test with beta9:
>c:\IronPython-1.0-Beta9\ipy -i tipy.py
Press a key
Traceback (most recent call last):
File C:\python\pyreadline_branch\pyreadline\console\tipy.py, line 8,
in Initialize
File , line 0, in Chr##75
TypeError: Cannot convert Char(d) to Int32
More information about the users
mailing list