#23464: remove JoinableQueue that was deprecated in 3.4.4.

Patch by A. Jesse Jiryu Davis.
This commit is contained in:
R David Murray 2015-04-12 18:47:56 -04:00
parent 5646de47e1
commit e81a773352
4 changed files with 7 additions and 17 deletions

View file

@ -8,7 +8,6 @@ Queues:
* :class:`Queue` * :class:`Queue`
* :class:`PriorityQueue` * :class:`PriorityQueue`
* :class:`LifoQueue` * :class:`LifoQueue`
* :class:`JoinableQueue`
asyncio queue API was designed to be close to classes of the :mod:`queue` asyncio queue API was designed to be close to classes of the :mod:`queue`
module (:class:`~queue.Queue`, :class:`~queue.PriorityQueue`, module (:class:`~queue.Queue`, :class:`~queue.PriorityQueue`,
@ -144,16 +143,6 @@ LifoQueue
first. first.
JoinableQueue
^^^^^^^^^^^^^
.. class:: JoinableQueue
Deprecated alias for :class:`Queue`.
.. deprecated:: 3.4.4
Exceptions Exceptions
^^^^^^^^^^ ^^^^^^^^^^

View file

@ -630,6 +630,10 @@ removed:
3.4, and has now been removed. 3.4, and has now been removed.
(Contributed by Matt Chaput in :issue:`6623`.) (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 Porting to Python 3.5
===================== =====================

View file

@ -1,7 +1,6 @@
"""Queues""" """Queues"""
__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty', __all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty']
'JoinableQueue']
import collections import collections
import heapq import heapq
@ -280,7 +279,3 @@ class LifoQueue(Queue):
def _get(self): def _get(self):
return self._queue.pop() return self._queue.pop()
JoinableQueue = Queue
"""Deprecated alias for Queue."""

View file

@ -19,6 +19,8 @@ Core and Builtins
Library Library
------- -------
- Issue #23464: Removed deprecated asyncio JoinableQueue.
- Issue #23529: Limit the size of decompressed data when reading from - Issue #23529: Limit the size of decompressed data when reading from
GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks
using compressed bombs (i.e. compressed payloads which decompress to a huge using compressed bombs (i.e. compressed payloads which decompress to a huge