[Python-checkins] peps: An object's finalizer will only ever be called once, even if resurrected.
python-checkins at python.org
Sat Jun 15 20:01:15 CEST 2013
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Jun 15 19:59:55 2013 +0200
An object's finalizer will only ever be called once, even if resurrected.
pep-0442.txt | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/pep-0442.txt b/pep-0442.txt
@@ -201,8 +201,7 @@
Following this scheme, an object's finalizer is always called exactly
-once. The only exception is if an object is resurrected: the finalizer
-will be called again when the object becomes unreachable again.
+once, even if it was resurrected afterwards.
For CI objects, the order in which finalizers are called (step 2 above)
Repository URL: http://hg.python.org/peps
More information about the Python-checkins