Dino Viehland wrote:
Jeff wrote:
I'm trying to fix up the exceptions for the _sqlite3 module I'm
implementing. The dbapi spec (PEP 249) requires a very specific
exception hierarchy, including exceptions derived from StandardError.
My initial version just used C# Exception classes, but Standa
On Fri, Apr 30, 2010 at 4:10 PM, Dino Viehland 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
Jeff wrote:
> I'm trying to fix up the exceptions for the _sqlite3 module I'm
> implementing. The dbapi spec (PEP 249) requires a very specific
> exception hierarchy, including exceptions derived from StandardError.
>
> My initial version just used C# Exception classes, but StandardError
> is not
I'm trying to fix up the exceptions for the _sqlite3 module I'm
implementing. The dbapi spec (PEP 249) requires a very specific
exception hierarchy, including exceptions derived from StandardError.
My initial version just used C# Exception classes, but StandardError
is not a normal class, so that