Mention regular finalizer execution (Nick)
This commit is contained in:
parent
a8c93a3627
commit
3f7fb2b63f
|
@ -128,6 +128,12 @@ time, signal handlers are able to set a single flag and/or wake up a
|
|||
file descriptor for the main program to notice. As for those signal
|
||||
handlers which raise an exception, they *have* to execute in-thread.
|
||||
|
||||
This PEP also does not change the execution of finalization callbacks
|
||||
when they are called as part of regular reference counting, i.e. when
|
||||
releasing a visible reference drops an object's reference count to zero.
|
||||
Since such execution happens at deterministic points in code, it is usually
|
||||
not a problem.
|
||||
|
||||
|
||||
Internal details
|
||||
================
|
||||
|
|
Loading…
Reference in New Issue