Something went wrong on our end
-
Marco Biasini authored
On some old versions of Boost.Python, std::out_of_range is not properly converted to IndexError. Instead, a RuntimeError is raised. For these versions, we overwrite the IndexError type with the type of the exception raised by geom.Vec2()[3].
Marco Biasini authoredOn some old versions of Boost.Python, std::out_of_range is not properly converted to IndexError. Instead, a RuntimeError is raised. For these versions, we overwrite the IndexError type with the type of the exception raised by geom.Vec2()[3].