MCPcopy
hub / github.com/celery/celery / supported

Method supported

celery/platforms.py:638–645  ·  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

636 return _signal.alarm(0)
637
638 def supported(self, name):
639 """Return true value if signal by ``name`` exists on this platform."""
640 try:
641 self.signum(name)
642 except AttributeError:
643 return False
644 else:
645 return True
646
647 def signum(self, name):
648 """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