Staging
v0.5.1
https://github.com/python/cpython
Revision 2c1c2ca2548f943d6323859f17612aa5a4a19165 authored by Victor Stinner on 15 September 2017, 23:55:47 UTC, committed by GitHub on 15 September 2017, 23:55:47 UTC
* bpo-31234: Join threads in tests (#3572)

Call thread.join() on threads to prevent the "dangling threads"
warning.

(cherry picked from commit 18e95b4176256f100429a806d0455406df98f984)

* bpo-31234: Join threads in test_hashlib (#3573)

* bpo-31234: Join threads in test_hashlib

Use thread.join() to wait until the parallel hash tasks complete
rather than using events. Calling thread.join() prevent "dangling
thread" warnings.

* test_hashlib: minor PEP 8 coding style fixes

(cherry picked from commit 8dcf22f442320e4c1a5408e67b4c9002ad105f17)

* bpo-31234: Join threads in test_threading (#3579)

Call thread.join() to prevent the "dangling thread" warning.

(cherry picked from commit b8c7be2c523b012e57915182543d06657161057f)

* bpo-31234: Join threads in test_queue (#3586)

Call thread.join() to prevent the "dangling thread" warning.

(cherry picked from commit 167cbde50a88ec2a7d26b2cb9891d5e32bdfbfb5)

* bpo-31234: Join timers in test_threading (#3598)

Call the .join() method of threading.Timer timers to prevent the
"threading_cleanup() failed to cleanup 1 threads" warning.

(cherry picked from commit da3e5cf961f9bcc4bb376386cfe7a2865325086c)
1 parent 4d72945
History
Tip revision: 2c1c2ca2548f943d6323859f17612aa5a4a19165 authored by Victor Stinner on 15 September 2017, 23:55:47 UTC
[3.6] bpo-31234: Join threads in tests (#3589)
Tip revision: 2c1c2ca
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 798 bytes
.gitignore -rw-r--r-- 1.3 KB
.hgeol -rw-r--r-- 1.0 KB
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 8.7 KB
.travis.yml -rw-r--r-- 4.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 58.3 KB
README.rst -rw-r--r-- 9.0 KB
aclocal.m4 -rw-r--r-- 13.0 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 473.4 KB
configure.ac -rw-r--r-- 156.7 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.5 KB
setup.py -rw-r--r-- 99.1 KB

README.rst

back to top