Check if the unhandled exception is an instance of the given type. If match, the exception will be stored in py_retval().
py_retval()
bool py_matchexc( int type, ) { return _py_matchexc( type, ); }