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

Leonard Ritter paniq at paniq.org
Mon Dec 15 17:38:09 CET 2008


On Mon, Dec 15, 2008 at 5:33 PM, Leonard Ritter <paniq at paniq.org> wrote:

> On Mon, Dec 15, 2008 at 5:29 PM, Leonard Ritter <paniq at paniq.org> wrote:
>
>> On Mon, Dec 15, 2008 at 5:27 PM, Stefan Seefeld <seefeld at sympatico.ca>wrote:
>>
>>> The throw point isn't very interesting in this case: In Python, iteration
>>> is terminated by means of a 'StopIteration' exception. The question is why
>>> this exception manages to escape uncaught.
>>
>>
>> i tried both 1.34.1 and 1.35.0 available in my distribution (ubuntu), same
>> problem. i am fetching through the boost.python code to see if i can find
>> something interesting.
>>
>
> i should add that this problem does not happen on other machines with the
> SAME distribution installed.
>

...and the error generated is a segfault, no standard exception!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20081215/2ed221a0/attachment.htm>


More information about the Cplusplus-sig mailing list