boost python error catching

15 Aug
2002
15 Aug
'02
6 p.m.
Hi, I have some code that worked fine with Python 2.1, but now in Python 2.2.1 it segfaults mysteriuosly. I've narrowed it down to weirdness with the throw/catch of errors. When I do a throw "boost::python::error_already_set();", the "catch(...)" in my module cpp file is supposed to catch it. But it never gets to there. After it's thrown, Python just segfaults and dies. In Python 2.1 it worked perfectly but not in 2.2.1. Any suggestions?
8226
Age (days ago)
8226
Last active (days ago)
0 comments
1 participants
participants (1)
-
cseymour@interchange.ubc.ca