Garbage collector and problems with the __del__ finalizer
Garbage Collector and gc module
Accessing pytest assert message in finalizer Python: logging the garbage collector Python garbage collector documentation How to print stuff in a py.test finalizer Python garbage collector Is it possible to execute finalizer fixture in python only after all parameters of the test are executed? How to prevent module from deleting by garbage collector or reimport it inside __del__ method Does Python's garbage collector harm my application? Python: exec statement and unexpected garbage collector behavior Garbage collector tries to collect shared memory object Python Garbage-Collector and Class Variables Are all Python objects tracked by the garbage collector? python garbage collector behavior on compound objects How does Python's Garbage Collector Detect Circular References? Garbage collector missing last value in list Does PyPy's garbage collector need to stop the world? py.test 2.3.5 does not run finalizer after fixture failure Python: is the garbage collector run before a MemoryError is raised? What is the type of `return` or `del`? How much time is the garbage collector using? Python: flush a buffer before program termination via a finalizer Python to C and Garbage Collector python garbage collector and list How can I protect a logging object from the garbage collector in a multiprocessing process? Is it possible to raise exception that fail (and not error) test in pytest finalizer? Issue with Python garbage collector? Why disable the garbage collector? Use of del in Python Python: Is there any difference between "del a" and "del(a)"?