[IronPython] New proposed exception model for IronPython

Dino Viehland dinov at exchange.microsoft.com
Fri Dec 16 00:40:48 CET 2005

It's an extremely interesting idea and one that I personally like.  Being the new guy I'll want to hear Jim and Martin's input too J.

Ultimately there's no reason why we couldn't either expose supplementary dictionaries that provide for user-defined exception translation or even to expose the dictionaries that we use internally (to allow modifying the systems defaults).  It also seems like it'd be a great way to keep the exception system highly dynamic and give the advanced Python developer more control of it.

I'll make sure to make a note of this to see if we can get it included.


From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Keith J. Farmer
Sent: Thursday, December 15, 2005 3:25 PM
To: Discussion of IronPython
Subject: Re: [IronPython] New proposed exception model for IronPython

Would there be a way to map new exceptions between IP and the CLI?

For example, if I create a new Python exception, and want to bind it to System.ArgumentException, or convsersely if I create a new CLI exception that I want to map to a Python equivalent.  This would be an IronPython-ism, but a worthwhile one I think.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20051215/99b71b7f/attachment.html>

More information about the Ironpython-users mailing list