Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ queue_full
Function
queue_full
Lib/test/_test_multiprocessing.py:1033–1037 ·
view source on GitHub ↗
(q, maxsize)
Source
from the content-addressed store, hash-verified
1031
return
q.qsize() == 0
1032
1033
def
queue_full(q, maxsize):
1034
if
hasattr(q,
'full'
):
1035
return
q.full()
1036
else
:
1037
return
q.qsize() == maxsize
1038
1039
1040
class
_TestQueue(BaseTestCase):
Callers
1
test_put
Method · 0.85
Calls
3
hasattr
Function · 0.85
full
Method · 0.45
qsize
Method · 0.45
Tested by
no test coverage detected