I'm trying to create a subclass of Exception in C, but cant figure out what to use as tp_base in the PyTypeObject struct. Can anybody give me directions on where to look or maybe even an answer? -- Dennis K. And that's the way the cookie crumbles.