• Glen Walker's avatar
    Support keep_alive where nurse may be None · f45bb585
    Glen Walker authored
    For example keep_alive<0,1>() should work where the return value may sometimes be None. At present a "Could not allocate weak reference!" exception is thrown.
    Update documentation to clarify behaviour of keep_alive when nurse is None or does not support weak references.
    f45bb585
example-keep-alive.py 885 Bytes