Python stdlib module — gc. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.freeze()Neutralfreeze()
Freeze all current tracked objects and ignore them for future collections.
.get_freeze_count()Neutralget_freeze_count()
Return the number of objects in the permanent generation.
.get_objects()Neutralget_objects(generation)
Return a list of objects tracked by the collector (excluding the list returned).
| FQN | Field | |
|---|---|---|
| gc | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import gc