Hi all,

I have a C++ library I call from python. The problem is I have c++
exceptions that i want to be translated to python. I want to be able to
do stuff like:
try:
    my_cpp_function()
except cpp_exception_1:
    do_stuff
except cpp_exception_2:
    do_other_stuff

any ideas how can i do the translation?
Thanks, calin

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to