Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e81a7733
Kaydet (Commit)
e81a7733
authored
Nis 12, 2015
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#23464: remove JoinableQueue that was deprecated in 3.4.4.
Patch by A. Jesse Jiryu Davis.
üst
5646de47
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
17 deletions
+7
-17
asyncio-queue.rst
Doc/library/asyncio-queue.rst
+0
-11
3.5.rst
Doc/whatsnew/3.5.rst
+4
-0
queues.py
Lib/asyncio/queues.py
+1
-6
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/asyncio-queue.rst
Dosyayı görüntüle @
e81a7733
...
...
@@ -8,7 +8,6 @@ Queues:
* :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 @@ LifoQueue
first.
JoinableQueue
^^^^^^^^^^^^^
.. class:: JoinableQueue
Deprecated alias for :class:`Queue`.
.. deprecated:: 3.4.4
Exceptions
^^^^^^^^^^
...
...
Doc/whatsnew/3.5.rst
Dosyayı görüntüle @
e81a7733
...
...
@@ -630,6 +630,10 @@ removed:
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
=====================
...
...
Lib/asyncio/queues.py
Dosyayı görüntüle @
e81a7733
"""Queues"""
__all__
=
[
'Queue'
,
'PriorityQueue'
,
'LifoQueue'
,
'QueueFull'
,
'QueueEmpty'
,
'JoinableQueue'
]
__all__
=
[
'Queue'
,
'PriorityQueue'
,
'LifoQueue'
,
'QueueFull'
,
'QueueEmpty'
]
import
collections
import
heapq
...
...
@@ -280,7 +279,3 @@ class LifoQueue(Queue):
def
_get
(
self
):
return
self
.
_queue
.
pop
()
JoinableQueue
=
Queue
"""Deprecated alias for Queue."""
Misc/NEWS
Dosyayı görüntüle @
e81a7733
...
...
@@ -19,6 +19,8 @@ Core and Builtins
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment