[Python-checkins] cpython: asyncio: Drop JoinableQueue from 3.5

yury.selivanov python-checkins at python.org
Mon May 11 20:42:51 CEST 2015


https://hg.python.org/cpython/rev/17bd326e2e2f
changeset: 95955:17bd326e2e2f
user: Yury Selivanov <yselivanov at sprymix.com>
date: Mon May 11 14:42:43 2015 -0400
summary:
 asyncio: Drop JoinableQueue from 3.5
files:
 Lib/asyncio/queues.py | 7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py
--- a/Lib/asyncio/queues.py
+++ b/Lib/asyncio/queues.py
@@ -1,7 +1,6 @@
 """Queues"""
 
-__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty',
- 'JoinableQueue']
+__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty']
 
 import collections
 import heapq
@@ -287,7 +286,3 @@
 
 def _get(self):
 return self._queue.pop()
-
-
-JoinableQueue = Queue
-"""Deprecated alias for Queue."""
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /