MCPcopy Create free account
hub / github.com/AMAP-ML/Thinking-with-Map / new_handler

Function new_handler

demo/qwen_agent/utils/utils.py:57–60  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

55 raise SystemExit
56
57 def new_handler(*args, **kwargs):
58 handler(*args, **kwargs)
59 if old_handler is not None:
60 old_handler(*args, **kwargs)
61
62 signal.signal(sig, new_handler)
63

Callers

nothing calls this directly

Calls 2

old_handlerFunction · 0.85
handlerFunction · 0.50

Tested by

no test coverage detected