void translate_std_invalid_argument( std::invalid_argument e) { PyErr_SetString( PyExc_ValueError, e.what()); }
void translator2(std::invalid_argument const& x) { PyErr_SetString(PyExc_AttributeError, x.what()); }