When are python objects candidates for garbage collection?

PythonServer Side ProgrammingProgramming

A python object or variable will be eligible for garbage collection as soon as all references to it go out of scope or are manually deleted (del x). We would have to presume there were no references to the object anywhere else for it to be garbage collected.


raja
Published on 30-Jan-2018 02:30:57
Advertisements