Re: [Python-Dev] [capi-sig] Exceptions with additional instance variables

2008-12-22 Thread chojrak11
Not this list, sorry ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [capi-sig] Exceptions with additional instance variables

2008-12-22 Thread chojrak11
2008/12/22 Guilherme Polo : > On Mon, Dec 22, 2008 at 10:06 AM, wrote: > > #include "Python.h" > > static PyObject *MyErr; > > static PyMethodDef module_methods[] = { >{"raise_test1", (PyCFunction)raise_test1, METH_NOARGS, NULL}, >{"raise_test2", (PyCFunction)raise_test2, METH_NOA

Re: [Python-Dev] [capi-sig] Exceptions with additional instance variables

2008-12-22 Thread Guilherme Polo
On Mon, Dec 22, 2008 at 10:45 AM, Guilherme Polo wrote: > On Mon, Dec 22, 2008 at 10:06 AM, wrote: >> On Mon, Dec 22, 2008 at 03:29, Guilherme Polo wrote: >>> On Sun, Dec 21, 2008 at 11:02 PM, wrote: Hello, I'm trying to implement custom exception that have to carry some u

Re: [Python-Dev] [capi-sig] Exceptions with additional instance variables

2008-12-22 Thread Guilherme Polo
On Mon, Dec 22, 2008 at 10:06 AM, wrote: > On Mon, Dec 22, 2008 at 03:29, Guilherme Polo wrote: >> On Sun, Dec 21, 2008 at 11:02 PM, wrote: >>> Hello, >>> >>> I'm trying to implement custom exception that have to carry some >>> useful info by means of instance members, to be used like: >>> >>>