Python cgitb Functions

EditRocket provides the following information on cgitb functions in the Python source code builder.

enable([display[, logdir[, context[, format]]]]) - This function causes the cgitb module to take over the interpreter's default handling for exceptions.

handler([info]) - This function handles an exception using the default settings (that is, show a report in the browser, but don't log to a file).