1706 #data_log.append((debug_tick, value)) |
1706 #data_log.append((debug_tick, value)) |
1707 for weakcallable,(args,kwargs) in WeakCallableDict.iteritems(): |
1707 for weakcallable,(args,kwargs) in WeakCallableDict.iteritems(): |
1708 #print weakcallable, value, args, kwargs |
1708 #print weakcallable, value, args, kwargs |
1709 function = getattr(weakcallable, function_name, None) |
1709 function = getattr(weakcallable, function_name, None) |
1710 if function is not None: |
1710 if function is not None: |
1711 if status == "Forced": |
1711 if status == "Forced" and cargs[1] == fvalue: |
1712 function(*(cargs + (True,) + args), **kwargs) |
1712 function(*(cargs + (True,) + args), **kwargs) |
1713 else: |
1713 else: |
1714 function(*(cargs + args), **kwargs) |
1714 function(*(cargs + args), **kwargs) |
1715 # This will block thread if more than one call is waiting |
1715 # This will block thread if more than one call is waiting |
1716 |
1716 |