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
b8e138aa
Kaydet (Commit)
b8e138aa
authored
Tem 04, 2009
tarafından
Kristján Valur Jónsson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert last change, which was incorrect.
üst
8c4f4178
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
socketserver.py
Lib/socketserver.py
+1
-6
test_sys.py
Lib/test/test_sys.py
+0
-2
win32_functions.c
Modules/_multiprocessing/win32_functions.c
+6
-0
No files found.
Lib/socketserver.py
Dosyayı görüntüle @
b8e138aa
...
...
@@ -445,12 +445,7 @@ class TCPServer(BaseServer):
def
close_request
(
self
,
request
):
"""Called to clean up an individual request."""
try
:
#explicitly shutdown. socket.close() merely releases
#the socket and waits for GC to perform the actual close.
request
.
shutdown
(
socket
.
SHUT_WR
)
except
socket
.
error
:
pass
#some platforms may raise ENOTCONN here
request
.
shutdown
(
socket
.
SHUT_WR
)
request
.
close
()
...
...
Lib/test/test_sys.py
Dosyayı görüntüle @
b8e138aa
...
...
@@ -182,8 +182,6 @@ class SysModuleTest(unittest.TestCase):
"under Windows, test would generate a spurious crash dialog"
)
code
=
textwrap
.
dedent
(
"""
import sys
import msvcrt
msvcrt.SetErrorMode(msvcrt.SEM_FAILCRITICALERRORS)
def f():
try:
...
...
Modules/_multiprocessing/win32_functions.c
Dosyayı görüntüle @
b8e138aa
...
...
@@ -130,6 +130,12 @@ win32_ExitProcess(PyObject *self, PyObject *args)
if
(
!
PyArg_ParseTuple
(
args
,
"I"
,
&
uExitCode
))
return
NULL
;
#if defined(Py_DEBUG)
SetErrorMode
(
SEM_FAILCRITICALERRORS
|
SEM_NOALIGNMENTFAULTEXCEPT
|
SEM_NOGPFAULTERRORBOX
|
SEM_NOOPENFILEERRORBOX
);
_CrtSetReportMode
(
_CRT_ASSERT
,
_CRTDBG_MODE_DEBUG
);
#endif
ExitProcess
(
uExitCode
);
return
NULL
;
...
...
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