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
8497efeb
Kaydet (Commit)
8497efeb
authored
Agu 06, 2009
tarafından
Jesse Noller
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address
üst
175e0bf8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
8 deletions
+20
-8
multiprocessing.rst
Doc/library/multiprocessing.rst
+0
-5
queues.py
Lib/multiprocessing/queues.py
+16
-3
ACKS
Misc/ACKS
+1
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/multiprocessing.rst
Dosyayı görüntüle @
8497efeb
...
@@ -1153,11 +1153,6 @@ their parent process exits. The manager classes are defined in the
...
@@ -1153,11 +1153,6 @@ their parent process exits. The manager classes are defined in the
Run
the
server
in
the
current
process
.
Run
the
server
in
the
current
process
.
..
method
::
from_address
(
address
,
authkey
)
A
class
method
which
creates
a
manager
object
referring
to
a
pre
-
existing
server
process
which
is
using
the
given
address
and
authentication
key
.
..
method
::
get_server
()
..
method
::
get_server
()
Returns
a
:
class
:`
Server
`
object
which
represents
the
actual
server
under
Returns
a
:
class
:`
Server
`
object
which
represents
the
actual
server
under
...
...
Lib/multiprocessing/queues.py
Dosyayı görüntüle @
8497efeb
...
@@ -282,9 +282,22 @@ class JoinableQueue(Queue):
...
@@ -282,9 +282,22 @@ class JoinableQueue(Queue):
Queue
.
__setstate__
(
self
,
state
[:
-
2
])
Queue
.
__setstate__
(
self
,
state
[:
-
2
])
self
.
_cond
,
self
.
_unfinished_tasks
=
state
[
-
2
:]
self
.
_cond
,
self
.
_unfinished_tasks
=
state
[
-
2
:]
def
put
(
self
,
item
,
block
=
True
,
timeout
=
None
):
def
put
(
self
,
obj
,
block
=
True
,
timeout
=
None
):
Queue
.
put
(
self
,
item
,
block
,
timeout
)
assert
not
self
.
_closed
self
.
_unfinished_tasks
.
release
()
if
not
self
.
_sem
.
acquire
(
block
,
timeout
):
raise
Full
self
.
_notempty
.
acquire
()
self
.
_cond
.
acquire
()
try
:
if
self
.
_thread
is
None
:
self
.
_start_thread
()
self
.
_buffer
.
append
(
obj
)
self
.
_unfinished_tasks
.
release
()
self
.
_notempty
.
notify
()
finally
:
self
.
_cond
.
release
()
self
.
_notempty
.
release
()
def
task_done
(
self
):
def
task_done
(
self
):
self
.
_cond
.
acquire
()
self
.
_cond
.
acquire
()
...
...
Misc/ACKS
Dosyayı görüntüle @
8497efeb
...
@@ -485,6 +485,7 @@ Craig McPheeters
...
@@ -485,6 +485,7 @@ Craig McPheeters
Lambert Meertens
Lambert Meertens
Bill van Melle
Bill van Melle
Lucas Prado Melo
Lucas Prado Melo
Brian Merrell
Luke Mewburn
Luke Mewburn
Mike Meyer
Mike Meyer
Steven Miale
Steven Miale
...
...
Misc/NEWS
Dosyayı görüntüle @
8497efeb
...
@@ -354,6 +354,9 @@ Core and Builtins
...
@@ -354,6 +354,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #4660: If a multiprocessing.JoinableQueue.put() was preempted, it was
possible to get a spurious 'task_done() called too many times' error.
- Issue #6595: The Decimal constructor now allows arbitrary Unicode
- Issue #6595: The Decimal constructor now allows arbitrary Unicode
decimal digits in input, as recommended by the standard. Previously
decimal digits in input, as recommended by the standard. Previously
it was restricted to accepting [0-9].
it was restricted to accepting [0-9].
...
...
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