[C++-sig] preventing boost::python::throw_error_already_set

Stefan Seefeld seefeld at sympatico.ca
Thu Dec 11 17:32:49 CET 2008


Leonard Ritter wrote:
> hi everyone,
>
> i'm having a problem where a boost::python::throw_error_already_set is 
> being thrown and causes a segfault (linux). unfortunately the error 
> happens from within python, when reaching the end of an iteration 
> through a vector array, which was exported using the vector indexing 
> suite.
>
> is there any possibility to catch the previous exception?

That's hard to tell without more context: Who is doing the iteration, 
for example ?

Regards,
       Stefan

-- 

      ...ich hab' noch einen Koffer in Berlin...



More information about the Cplusplus-sig mailing list