Gennadiy Rozental wrote: > If I implement __getattr__ callback for C++ class, how do I report attribute > "not found" condition so that KeyError is reported on python side? Something like this? PyErr_SetString(PyExc_KeyError, "your message"); boost::python::throw_error_already_set(); Alex