MCPcopy Create free account
hub / github.com/celery/celery / supported

Method supported

celery/platforms.py:702–709  ·  view source on GitHub ↗

Return true value if signal by ``name`` exists on this platform.

(self, name)

Source from the content-addressed store, hash-verified

700 return _signal.alarm(0)
701
702 def supported(self, name):
703 """Return true value if signal by ``name`` exists on this platform."""
704 try:
705 self.signum(name)
706 except AttributeError:
707 return False
708 else:
709 return True
710
711 def signum(self, name):
712 """Get signal number by name."""

Callers 2

test_supportedMethod · 0.80
set_pdeathsigFunction · 0.80

Calls 1

signumMethod · 0.95

Tested by 1

test_supportedMethod · 0.64