MCPcopy Index your code
hub / github.com/python/cpython / queue_full

Function queue_full

Lib/test/_test_multiprocessing.py:1180–1184  ·  view source on GitHub ↗
(q, maxsize)

Source from the content-addressed store, hash-verified

1178 return q.qsize() == 0
1179
1180def queue_full(q, maxsize):
1181 if hasattr(q, 'full'):
1182 return q.full()
1183 else:
1184 return q.qsize() == maxsize
1185
1186
1187class _TestQueue(BaseTestCase):

Callers 1

test_putMethod · 0.85

Calls 2

fullMethod · 0.45
qsizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…