Hi,

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

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 exception:
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

Diane

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to