IMP.set_print_excpetions() does not exist anymore, at least in the swig
interface - was the function renamed?
set_print_exceptions() exists, in the kernel (include/exception.h). It
shouldn't be necessary for Python code, surely, since the SWIG wrappers
catch any IMP C++ exceptions and convert them to Python exceptions
(which will be printed anyway if you don't catch them).