(self)
| 461 | return responses |
| 462 | |
| 463 | def _clear_dead_receivers(self): |
| 464 | # Note: caller is assumed to hold self.lock. |
| 465 | if self._dead_receivers: |
| 466 | self._dead_receivers = False |
| 467 | self.receivers = [ |
| 468 | r |
| 469 | for r in self.receivers |
| 470 | if ( |
| 471 | not (isinstance(r[1], weakref.ReferenceType) and r[1]() is None) |
| 472 | and not (r[2] is not None and r[2]() is None) |
| 473 | ) |
| 474 | ] |
| 475 | |
| 476 | def _live_receivers(self, sender): |
| 477 | """ |
no outgoing calls
no test coverage detected