3.3 Exceptions and warnings

exception error
The psyco.error exception is raised in case of a Psyco-specific error during the call of one of the above functions or during profiling. It is never automatically raised within one of your function that is accelerated by Psyco.

exception warning
The psyco.warning warning is issued in the hopefully rare cases where the meaning of your functions may change because of Psyco. Unlike psyco.error, this warning is typically issued while Psyco is running your own Python code, during a call to one of the functions described in appendix A.2.