[IronPython] Dealing with exceptions in an extension module

Jeff Hardy jdhardy at gmail.com
Sat May 1 01:08:38 CEST 2010


On Fri, Apr 30, 2010 at 4:10 PM, Dino Viehland <dinov at microsoft.com> wrote:
> There's a public PythonOps.CreateThrowable.  It just forwards the call
> to the internal PythonExceptions.CreateThrowable.

Ah, thank you.

> Yeah, maybe we should remove the internals visible to and make everything
> it relies on public.  I think I'd be mostly alright with that but there
> might be a few places where we suffer (like not having access to our AddNoLock
> methods for appending to lists).

IronPython.Modules is often the best resource for finding out how to
do stuff; starting to implement a pattern used there only discover it
uses internal APIs is a bit frustrating. I think it's a good idea, but
I don't really have to deal with the consequences :).

- Jeff



More information about the Ironpython-users mailing list