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
f64f9e9e
Kaydet (Commit)
f64f9e9e
authored
Tem 14, 2011
tarafından
Charles-François Natali
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Merge - Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.
üst
b6ffa798
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
asyncore.py
Lib/asyncore.py
+4
-2
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/asyncore.py
Dosyayı görüntüle @
f64f9e9e
...
@@ -132,7 +132,8 @@ def poll(timeout=0.0, map=None):
...
@@ -132,7 +132,8 @@ def poll(timeout=0.0, map=None):
is_w
=
obj
.
writable
()
is_w
=
obj
.
writable
()
if
is_r
:
if
is_r
:
r
.
append
(
fd
)
r
.
append
(
fd
)
if
is_w
:
# accepting sockets should not be writable
if
is_w
and
not
obj
.
accepting
:
w
.
append
(
fd
)
w
.
append
(
fd
)
if
is_r
or
is_w
:
if
is_r
or
is_w
:
e
.
append
(
fd
)
e
.
append
(
fd
)
...
@@ -179,7 +180,8 @@ def poll2(timeout=0.0, map=None):
...
@@ -179,7 +180,8 @@ def poll2(timeout=0.0, map=None):
flags
=
0
flags
=
0
if
obj
.
readable
():
if
obj
.
readable
():
flags
|=
select
.
POLLIN
|
select
.
POLLPRI
flags
|=
select
.
POLLIN
|
select
.
POLLPRI
if
obj
.
writable
():
# accepting sockets should not be writable
if
obj
.
writable
()
and
not
obj
.
accepting
:
flags
|=
select
.
POLLOUT
flags
|=
select
.
POLLOUT
if
flags
:
if
flags
:
# Only check for exceptions if object was either readable
# Only check for exceptions if object was either readable
...
...
Misc/NEWS
Dosyayı görüntüle @
f64f9e9e
...
@@ -225,6 +225,8 @@ Core and Builtins
...
@@ -225,6 +225,8 @@ Core and Builtins
Library
Library
-------
-------
- Issue #12502: asyncore: fix polling loop with AF_UNIX sockets.
- Issue #4376: ctypes now supports nested structures in a endian different than
- Issue #4376: ctypes now supports nested structures in a endian different than
the parent structure. Patch by Vlad Riscutia.
the parent structure. Patch by Vlad Riscutia.
...
...
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