(self)
| 525 | info.atexit = bool(value) |
| 526 | |
| 527 | def __repr__(self): |
| 528 | info = self._registry.get(self) |
| 529 | obj = info and info.weakref() |
| 530 | if obj is None: |
| 531 | return '<%s object at %#x; dead>' % (type(self).__name__, id(self)) |
| 532 | else: |
| 533 | return '<%s object at %#x; for %r at %#x>' % \ |
| 534 | (type(self).__name__, id(self), type(obj).__name__, id(obj)) |
| 535 | |
| 536 | @classmethod |
| 537 | def _select_for_exit(cls): |