changeset: 95559:2a18f6b85da2 user: R David Murray date: Sun Apr 12 18:47:56 2015 -0400 files: Doc/library/asyncio-queue.rst Doc/whatsnew/3.5.rst Lib/asyncio/queues.py Misc/NEWS description: #23464: remove JoinableQueue that was deprecated in 3.4.4. Patch by A. Jesse Jiryu Davis. diff -r bf5a899a5d7c -r 2a18f6b85da2 Doc/library/asyncio-queue.rst --- a/Doc/library/asyncio-queue.rst Sun Apr 12 17:56:34 2015 -0400 +++ b/Doc/library/asyncio-queue.rst Sun Apr 12 18:47:56 2015 -0400 @@ -8,7 +8,6 @@ * :class:`Queue` * :class:`PriorityQueue` * :class:`LifoQueue` -* :class:`JoinableQueue` asyncio queue API was designed to be close to classes of the :mod:`queue` module (:class:`~queue.Queue`, :class:`~queue.PriorityQueue`, @@ -144,16 +143,6 @@ first. -JoinableQueue -^^^^^^^^^^^^^ - -.. class:: JoinableQueue - - Deprecated alias for :class:`Queue`. - - .. deprecated:: 3.4.4 - - Exceptions ^^^^^^^^^^ diff -r bf5a899a5d7c -r 2a18f6b85da2 Doc/whatsnew/3.5.rst --- a/Doc/whatsnew/3.5.rst Sun Apr 12 17:56:34 2015 -0400 +++ b/Doc/whatsnew/3.5.rst Sun Apr 12 18:47:56 2015 -0400 @@ -630,6 +630,10 @@ 3.4, and has now been removed. (Contributed by Matt Chaput in :issue:`6623`.) +* The JoinableQueue class in the provisional asyncio module was deprecated + in 3.4.4 and is now removed (:issue:`23464`). + + Porting to Python 3.5 ===================== diff -r bf5a899a5d7c -r 2a18f6b85da2 Lib/asyncio/queues.py --- a/Lib/asyncio/queues.py Sun Apr 12 17:56:34 2015 -0400 +++ b/Lib/asyncio/queues.py Sun Apr 12 18:47:56 2015 -0400 @@ -1,7 +1,6 @@ """Queues""" -__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty', - 'JoinableQueue'] +__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty'] import collections import heapq @@ -280,7 +279,3 @@ def _get(self): return self._queue.pop() - - -JoinableQueue = Queue -"""Deprecated alias for Queue.""" diff -r bf5a899a5d7c -r 2a18f6b85da2 Misc/NEWS --- a/Misc/NEWS Sun Apr 12 17:56:34 2015 -0400 +++ b/Misc/NEWS Sun Apr 12 18:47:56 2015 -0400 @@ -19,6 +19,8 @@ Library ------- +- Issue #23464: Removed deprecated asyncio JoinableQueue. + - Issue #23529: Limit the size of decompressed data when reading from GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks using compressed bombs (i.e. compressed payloads which decompress to a huge