Did I find the right examples for you? yes no

All Samples(11)  |  Call(6)  |  Derive(1)  |  Import(4)
Weak ref proxy used after referent went away.

src/d/i/dill-0.2b1/dill/dill.py   dill(Download)
        return
    # all bad below... so throw ReferenceError or TypeError
    from weakref import ReferenceError
    raise ReferenceError("%s does not reference a class __dict__" % obj)
 
        if address == id(obj): return obj
    # all bad below... nothing found so throw ReferenceError or TypeError
    from weakref import ReferenceError
    try: address = hex(address)
    except TypeError:
        raise TypeError("'%s' is not a valid memory address" % str(address))
    raise ReferenceError("Cannot reference object at '%s'" % address)

src/d/i/dill-HEAD/dill/dill.py   dill(Download)
        return
    # all bad below... so throw ReferenceError or TypeError
    from weakref import ReferenceError
    raise ReferenceError("%s does not reference a class __dict__" % obj)
 
        if address == id(obj): return obj
    # all bad below... nothing found so throw ReferenceError or TypeError
    from weakref import ReferenceError
    try: address = hex(address)
    except TypeError:
        raise TypeError("'%s' is not a valid memory address" % str(address))
    raise ReferenceError("Cannot reference object at '%s'" % address)

src/d/o/dopey-HEAD/lib/observable.py   dopey(Download)
    class _ReferenceError (weakref.ReferenceError):
        """Raised when calling if the observer object is now dead."""
        pass
 
    def __init__(self, observer):