Python stdlib module — queue. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.heappop()Neutralheappop(heap)
Pop the smallest item off the heap, maintaining the heap invariant.
.heappush()Neutralheappush(heap, item)
Push item onto heap, maintaining the heap invariant.
.LifoQueue()NeutralLifoQueue(...)
Variant of Queue that retrieves most recently added entries first.
.PriorityQueue()NeutralPriorityQueue(...)
Variant of Queue that retrieves open entries in priority order (lowest first).
| FQN | Field | |
|---|---|---|
| queue | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import queue