[C++-sig] [boost.python] Assertion Fails with return_value_policy

Stefan Seefeld seefeld at sympatico.ca
Thu Aug 28 23:44:19 CEST 2008


Brian Dawn wrote:
> Hi, I currently have a function that returns an object pointer. I wish 
> to expose this function to python. However when I set a 
> return_value_policy to this member function I get the following 
> assertion failure.

This is a bug in boost.python. (Even if you do something wrong, the 
library shouldn't abort, but raise an exception, in that case.)
Please submit an issue for this.

Thanks,
       Stefan


-- 

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




More information about the Cplusplus-sig mailing list