Home
last modified time | relevance | path

Searched refs:exc_handler (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Modules/
Dfaulthandler.c58 void *exc_handler; member
515 assert(fatal_error.exc_handler == NULL); in faulthandler_enable()
516 fatal_error.exc_handler = AddVectoredExceptionHandler(1, faulthandler_exc_handler); in faulthandler_enable()
567 if (fatal_error.exc_handler != NULL) { in faulthandler_disable()
568 RemoveVectoredExceptionHandler(fatal_error.exc_handler); in faulthandler_disable()
569 fatal_error.exc_handler = NULL; in faulthandler_disable()
/third_party/python/Lib/test/test_asyncio/
Dtest_proactor_events.py267 exc_handler = mock.Mock()
268 self.loop.set_exception_handler(exc_handler)
277 exc_handler.assert_not_called()
Dtest_tasks.py2915 self.loop.call_exception_handler = exc_handler = mock.Mock()
2929 exc_handler.assert_called_once()
2930 exc = exc_handler.call_args[0][0]['exception']
2942 self.loop.call_exception_handler = exc_handler = mock.Mock()
2955 exc_handler.assert_called_once()
2956 exc = exc_handler.call_args[0][0]['exception']
/third_party/python/Tools/c-analyzer/
DTODO133 …Object *file; int fd; int all_threads; PyInterpreterState *interp; void *exc_handler; } fatal_error