return super(DecorateHttpVerbsMetaclass, cls).__new__(cls, name, bases,
    cls_attr)


class ExtendedHandler(RequestHandler, metaclass=DecorateHttpVerbsMetaclass):
    pass

def handle_exception(self, exception, debug_mode):
    traceback_info = ''.join(format_exception(*sys.exc_info()))
email_admins(traceback_info, defer_now=True)
serve_500(self)
Google App Engine/Drive SDK: обнаружение большого количества исключений HTTP Deadline