[C++-sig] Handling Python exceptions from an exposed C++ function