def getAllReceivers(sender=Any, signal=Any):
 receivers = {}
 for set in (getReceivers(sender, signal), getReceivers(sender, Any), getReceivers(Any, signal), getReceivers(Any, Any)):
  for receiver in set:
   if receiver:
    try:
     if (not receivers.has_key(receiver)):
      receivers[receiver] = 1
      (yield receiver)
    except TypeError:
     pass

def getAllReceivers ( sender = Any , signal = Any ) : receivers = { } for set in ( getReceivers ( sender , signal ) , getReceivers ( sender , Any ) , getReceivers ( Any , signal ) , getReceivers ( Any , Any ) ) : for receiver in set : if receiver : try : if ( not receivers . has_key ( receiver ) ) : receivers [ receiver ] = 1 ( yield receiver ) except TypeError : pass
get list of all receivers from global tables this gets all dereferenced receivers which should receive the given signal from sender .