(self)
| 623 | info.atexit = bool(value) |
| 624 | |
| 625 | def __repr__(self): |
| 626 | info = self._registry.get(self) |
| 627 | obj = info and info.weakref() |
| 628 | if obj is None: |
| 629 | return '<%s object at %#x; dead>' % (type(self).__name__, id(self)) |
| 630 | else: |
| 631 | return '<%s object at %#x; for %r at %#x>' % \ |
| 632 | (type(self).__name__, id(self), type(obj).__name__, id(obj)) |
| 633 | |
| 634 | @classmethod |
| 635 | def _select_for_exit(cls): |