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
9a54a260
Kaydet (Commit)
9a54a260
authored
Mar 31, 2012
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #14300: Under Windows, sockets created using socket.dup() now allow overlapped I/O.
Patch by sbt.
üst
8315f967
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
NEWS
Misc/NEWS
+3
-0
socketmodule.c
Modules/socketmodule.c
+1
-1
No files found.
Misc/NEWS
Dosyayı görüntüle @
9a54a260
...
@@ -37,6 +37,9 @@ Core and Builtins
...
@@ -37,6 +37,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
14300
:
Under
Windows
,
sockets
created
using
socket
.
dup
()
now
allow
overlapped
I
/
O
.
Patch
by
sbt
.
-
Issue
#
13872
:
socket
.
detach
()
now
marks
the
socket
closed
(
as
mirrored
-
Issue
#
13872
:
socket
.
detach
()
now
marks
the
socket
closed
(
as
mirrored
in
the
socket
repr
()).
Patch
by
Matt
Joiner
.
in
the
socket
repr
()).
Patch
by
Matt
Joiner
.
...
...
Modules/socketmodule.c
Dosyayı görüntüle @
9a54a260
...
@@ -381,7 +381,7 @@ dup_socket(SOCKET handle)
...
@@ -381,7 +381,7 @@ dup_socket(SOCKET handle)
return
INVALID_SOCKET
;
return
INVALID_SOCKET
;
return
WSASocket
(
FROM_PROTOCOL_INFO
,
FROM_PROTOCOL_INFO
,
return
WSASocket
(
FROM_PROTOCOL_INFO
,
FROM_PROTOCOL_INFO
,
FROM_PROTOCOL_INFO
,
&
info
,
0
,
0
);
FROM_PROTOCOL_INFO
,
&
info
,
0
,
WSA_FLAG_OVERLAPPED
);
}
}
#define SOCKETCLOSE closesocket
#define SOCKETCLOSE closesocket
#else
#else
...
...
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