Restore missing Except.print_exception in bindings

Tango::Except::print_exception() is listed in the tango.Except docstring and tango.device_class calls it when a DeviceClass constructor raises, but it was never bound, so the DevFailed was replaced by an AttributeError and the real error was lost.

Binds it, plus a test for it and for the already bound print_error_stack().

This was a regression since 10.1.0 when we moved to pybind11.

Edited by Anton Joubert

Merge request reports

Loading
Loading