[IronPython] Possible IronPython and FePy Issues

M. David Peterson xmlhacker at gmail.com
Thu Oct 26 01:35:31 CEST 2006

Couldn't you simply check the platform at load time, adapting the behavior
of the DEL to mimic BS when running under OSX?  That, or have a separate
mapping file for each platform that loads at run-time which would also hold
potential to all a more user definable approach for mapping key sequences
and such to user-defined macros.

On 10/25/06, Dino Viehland <dinov at exchange.microsoft.com> wrote:
> Thanks for the bug reports.  I've opened a bug for the dictionary deletion
> issue (
> http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=4769
> ).
> I'm a little worried about treating DEL the same as backspace - what
> happens when an actual DEL character comes in?  This one has come up before
> too, but I don't think we yet have a bug on it.
> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:
> users-bounces at lists.ironpython.com] On Behalf Of Diane Trout
> Sent: Monday, October 23, 2006 10:44 PM
> To: users at lists.ironpython.com
> Subject: [IronPython] Possible IronPython and FePy Issues
> 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
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20061025/cdb238d8/attachment.html>

More information about the Ironpython-users mailing list