Getting traceback from Python C API

Posted by TheObserver on Stack Overflow See other posts from Stack Overflow or by TheObserver
Published on 2010-04-06T00:29:33Z Indexed on 2010/04/06 0:33 UTC
Read the original article Hit count: 452

Filed under:
|

I have a Python C API extension module which occassionally falls over with an uninformative "MemoryError". It's clearly not an error that's catered for by the module's exception handlers. How do I get a more informative error traceback so I can figure out what's gone wrong in the extension module?

© Stack Overflow or respective owner

Related posts about python

Related posts about python-c-api