[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-09-12 Thread STINNER Victor
STINNER Victor added the comment: While backporting fixes on tests make sense, I'm not sure that it's doable to make regrtest more strict. It took me a while to fix all "dangling threads" and "dangling processes" on the master branch, and 6 months later, I'm not done yet. There are tricky

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 468534d92f6879e925c4cd8a228ea300abfb7e4d by Victor Stinner in branch '3.6': bpo-31259: test_urllib2_localnet uses addCleanup(server.stop) (#3186) https://github.com/python/cpython/commit/468534d92f6879e925c4cd8a228ea300abfb7e4d --

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3225 ___ Python tracker ___ ___

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
STINNER Victor added the comment: At this point, I'm not sure that I want to make threading_cleanup() stricter, since it's tricky to fix all dangling threads in all tests. At least, I opened an issue for 3.6 as a placeholder if we need to backport a few fixes. See also bpo-31234 where I

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3223 ___ Python tracker ___ ___

[issue31259] [3.6] Enhance support reap_children() and threading_cleanup()

2017-08-22 Thread STINNER Victor
New submission from STINNER Victor: Backport reap_children() and threading_cleanup() enhancements from master to 3.6 to make tests more reliables, reduce random failures on Python CIs. See also bpo-31258 for Python 2.7 -- components: Tests messages: 300700 nosy: haypo priority: normal