Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
495dcbd5
Commit
495dcbd5
authored
Nov 04, 2011
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Plain Diff
Merge 3.2: issue #13140
parents
3d7acb08
12b66b52
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Lib/socketserver.py
Lib/socketserver.py
+1
-2
Lib/test/test_socketserver.py
Lib/test/test_socketserver.py
+0
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/socketserver.py
View file @
495dcbd5
...
...
@@ -606,8 +606,7 @@ class ThreadingMixIn:
"""Start a new thread to process the request."""
t
=
threading
.
Thread
(
target
=
self
.
process_request_thread
,
args
=
(
request
,
client_address
))
if
self
.
daemon_threads
:
t
.
daemon
=
True
t
.
daemon
=
self
.
daemon_threads
t
.
start
()
...
...
Lib/test/test_socketserver.py
View file @
495dcbd5
...
...
@@ -123,7 +123,6 @@ class SocketServerTest(unittest.TestCase):
self
.
assertEqual
(
server
.
server_address
,
server
.
socket
.
getsockname
())
return
server
@
unittest
.
skipUnless
(
threading
,
'Threading required for this test.'
)
@
reap_threads
def
run_server
(
self
,
svrcls
,
hdlrbase
,
testfunc
):
server
=
self
.
make_server
(
self
.
pickaddr
(
svrcls
.
address_family
),
...
...
Misc/NEWS
View file @
495dcbd5
...
...
@@ -350,6 +350,8 @@ Core and Builtins
Library
-------
-
Issue
#
13140
:
Fix
the
daemon_threads
attribute
of
ThreadingMixIn
.
-
Issue
#
13339
:
Fix
compile
error
in
posixmodule
.
c
due
to
missing
semicolon
.
Thanks
to
Robert
Xiao
.
...
...
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