Lines Matching refs:alive
339 start_with = cstats.alive()
341 assert cstats.alive() == start_with + 1
343 assert cstats.alive() == start_with + 1
345 # Here's the keep alive in action:
346 assert cstats.alive() == start_with + 1
348 # Keep alive should have expired:
349 assert cstats.alive() == start_with
355 assert cstats.alive() == 1
360 assert cstats.alive() == 0
579 The `Ref` caster sometimes creates a copy which needs to stay alive. This needs to