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
0fd66b8f
Commit
0fd66b8f
authored
Nov 08, 2011
by
Jesus Cea
Browse files
Options
Browse Files
Download
Plain Diff
MERGE: Solved a potential deadlock in test_telnetlib.py. Related to issue #11812
parents
217f05b3
c241df81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
Lib/test/test_telnetlib.py
Lib/test/test_telnetlib.py
+0
-4
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_telnetlib.py
View file @
0fd66b8f
...
...
@@ -21,7 +21,6 @@ def server(evt, serv):
conn
.
close
()
finally
:
serv
.
close
()
evt
.
set
()
class
GeneralTests
(
TestCase
):
...
...
@@ -33,11 +32,8 @@ class GeneralTests(TestCase):
self
.
thread
=
threading
.
Thread
(
target
=
server
,
args
=
(
self
.
evt
,
self
.
sock
))
self
.
thread
.
start
()
self
.
evt
.
wait
()
self
.
evt
.
clear
()
time
.
sleep
(.
1
)
def
tearDown
(
self
):
self
.
evt
.
wait
()
self
.
thread
.
join
()
del
self
.
thread
# Clear out any dangling Thread objects.
...
...
Misc/NEWS
View file @
0fd66b8f
...
...
@@ -1616,6 +1616,8 @@ Tests
-
Skip
network
tests
when
getaddrinfo
()
returns
EAI_AGAIN
,
meaning
a
temporary
failure
in
name
resolution
.
-
Solved
a
potential
deadlock
in
test_telnetlib
.
py
.
Related
to
issue
#
11812.
-
Avoid
failing
in
test_robotparser
when
mueblesmoraleda
.
com
is
flaky
and
an
overzealous
DNS
service
(
e
.
g
.
OpenDNS
)
redirects
to
a
placeholder
Web
site
.
...
...
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