traceback over C API - still not working...

2007-10-20 Thread Sami Vaisanen
This is becoming utterly painful process I found out that the return value from format_exception function is NOT a list, i.e. PyList_Check() fails. PySequence_Check() succeeds but then PySequence_List() gives me back -1. So wtf? I must say the API is crap on this part. Im trying to get error

Re: traceback over C API - still not working...

2007-10-20 Thread Gabriel Genellina
En Sat, 20 Oct 2007 14:47:52 -0300, Sami Vaisanen [EMAIL PROTECTED] escribi�: This is becoming utterly painful process I found out that the return value from format_exception function is NOT a list, i.e. PyList_Check() fails. PySequence_Check() succeeds but then PySequence_List() gives