[IronPython] Possible IronPython and FePy Issues

Diane Trout diane at ghic.org
Tue Oct 24 07:44:25 CEST 2006


I'm trying to run IronPython under Mono on OS X and found a couple of  

This code fragment fails when it shouldn't:

d = dict()
d[None] = "bleem"
del d[None]

With CPython, the key None is deleted on IronPython I get this  
Traceback (most recent call last):
TypeError: index must be integer or slice

Also another minor issue is that OS X's Terminal.app sends DEL  
instead of BS, so I needed to add

   if (key.KeyChar == '\x7f') goto case ConsoleKey.Backspace;  // DEL

to the default case in SuperConsole.ReadLine

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061023/13725b34/attachment.pgp>

More information about the Ironpython-users mailing list