Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ qsize
Method
qsize
Lib/asyncio/queues.py:101–103 ·
view source on GitHub ↗
Number of items in the queue.
(self)
Source
from the content-addressed store, hash-verified
99
return
result
100
101
def
qsize(self):
102
""
"Number of items in the queue."
""
103
return
len(self._queue)
104
105
@property
106
def
maxsize(self):
Callers
15
full
Method · 0.95
test_qsize
Method · 0.95
test_queue_feeder_donot_stop_onexc
Method · 0.95
test_put_cancel_drop
Method · 0.95
qfull
Function · 0.45
basic_queue_test
Method · 0.45
test_shrinking_queue
Method · 0.45
_shutdown_thread
Method · 0.45
_shutdown_join
Method · 0.45
test_shutdown_get_task_done_join
Method · 0.45
failing_queue_test
Method · 0.45
run_threads
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_qsize
Method · 0.76
test_queue_feeder_donot_stop_onexc
Method · 0.76
test_put_cancel_drop
Method · 0.76
qfull
Function · 0.36
basic_queue_test
Method · 0.36
test_shrinking_queue
Method · 0.36
_shutdown_thread
Method · 0.36
_shutdown_join
Method · 0.36
test_shutdown_get_task_done_join
Method · 0.36
failing_queue_test
Method · 0.36
run_threads
Method · 0.36
test_basic
Method · 0.36