Lines Matching refs:finalizer
136 # current_process() can be None if the finalizer is called
148 # keep a strong reference to shutil.rmtree(), since the finalizer
216 sub_debug('finalizer no longer registered')
219 sub_debug('finalizer ignored because different process')
222 sub_debug('finalizer calling %s with args %s and kwargs %s',
243 Return whether this finalizer is still waiting to invoke callback
295 finalizer = _finalizer_registry.get(key)
297 if finalizer is not None:
298 sub_debug('calling %s', finalizer)
300 finalizer()