|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-07-23 18:50:41
on Mon Jul 23 2007, "Philippe Vaucher" <philippe.vaucher-AT-gmail.com> wrote:
>>
>> Can you find out what the python exception is that triggered it ?
>>
>>
>> Here is my call stack and the code http://cpp.sourceforge.net/?show=38616
>> The line throwing the exception is marked with a comment.
>>
>
> By the way it's not really python that fails... it's code in errors.hpp :
>
> template <class T>
> inline T* expect_non_null(T* x)
> {
> if (x == 0)
> throw_error_already_set();
> return x;
> }
No, it really is Python that fails. A null pointer there is just
Python's way of reporting an error.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk