Name

garbage

Synopsis

A read-only attribute that lists the uncollectable but unreachable objects. This happens if any object in a cyclic garbage loop has a __del__ special method, as there may be no safe order in which Python can finalize such objects.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.