diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-06 14:03:38 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-08-06 14:03:38 -0400 |
commit | 9a89ec7c43fca34d4d7ff7f9fb3166c7cd4185e4 (patch) | |
tree | 3f4555ba1dad9417c1a548b0290e80262c283c5b /Lib/asyncio/queues.py | |
parent | 37d246489eda0d88266e8e35adf491a747f7aa08 (diff) | |
download | cpython-9a89ec7c43fca34d4d7ff7f9fb3166c7cd4185e4.tar.gz |
Issue #23812: Fix getter-cancellation with many pending getters code path
Diffstat (limited to 'Lib/asyncio/queues.py')
-rw-r--r-- | Lib/asyncio/queues.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py index b26edfbe4f..021043d6be 100644 --- a/Lib/asyncio/queues.py +++ b/Lib/asyncio/queues.py @@ -228,7 +228,7 @@ class Queue: 'queue non-empty, why are getters waiting?') getter = self._getters.popleft() - self._put_internal(item) + self.__put_internal(item) # getter cannot be cancelled, we just removed done getters getter.set_result(item) |