curry.tools.utility module

curry.tools.utility.carp(exc_value, program_name=None, hint_timeout_sec=1, hint_kwds={})[source]

Display an exception and exit with the given status value, unless it is None.

curry.tools.utility.handle_program_errors(*args, **kwds)[source]
curry.tools.utility.make_exception(ExcClass, message, hint=None)[source]

Create an exception object with a hint attached.

Hints are only evaluated when an exception reaches the main function of a program.

curry.tools.utility.unrst(text)[source]

Removes some ReStructuredText annotations.