Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 13, 2017

Explicitly clear the server attribute in test_ftplib and test_poplib
to prevent dangling thread.

https://bugs.python.org/issue31234

Explicitly clear the server attribute in test_ftplib and test_poplib
to prevent dangling thread.
@vstinner vstinner requested a review from a team as a code owner September 13, 2017 10:35
@vstinner vstinner merged commit d403a29 into python:master Sep 13, 2017
@vstinner vstinner deleted the test_ftplib branch September 13, 2017 11:00
vstinner added a commit that referenced this pull request Sep 13, 2017
* bpo-31234: Fix dangling thread in test_ftp/poplib (#3540)

Explicitly clear the server attribute in test_ftplib and test_poplib
to prevent dangling thread.

(cherry picked from commit d403a29)

* bpo-31234: Fix dangling thread in test_ftplib (#3544)

Clear also self.server_thread attribute in TestTimeouts.tearDown().

(cherry picked from commit b157ce1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants