Concurrency

PyQueue

Python stdlib module — queue. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.heappop()Neutral
#
Signature
heappop(heap)

Pop the smallest item off the heap, maintaining the heap invariant.

.heappush()Neutral
#
Signature
heappush(heap, item)

Push item onto heap, maintaining the heap invariant.

.time()Neutral
#
Signature
time()

monotonic() -> float

.Empty()Neutral
#
Signature
Empty(...)

Exception raised by Queue.get(block=0)/get_nowait().

.Full()Neutral
#
Signature
Full(...)

Exception raised by Queue.put(block=0)/put_nowait().

.LifoQueue()Neutral
#
Signature
LifoQueue(...)

Variant of Queue that retrieves most recently added entries first.

.PriorityQueue()Neutral
#
Signature
PriorityQueue(...)

Variant of Queue that retrieves open entries in priority order (lowest first).

.Queue()Neutral
#
Signature
Queue(...)

Create a queue object with a given maximum size.

.SimpleQueue()Neutral
#
Signature
SimpleQueue(...)

Simple, unbounded, reentrant FIFO queue.

.deque()Neutral
#
Signature
deque(...)

deque([iterable[, maxlen]]) --> deque object

Fully-Qualified Names

FQNField
queuefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import queue