[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Ok, the warning should now be fixed. Thanks for the report Xiang. I don't know how I missed it ;-) -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset f5633e02433a81a6d0f14fc1c3294e752f4ac1a3 by Victor Stinner in branch '3.5': bpo-30387: Fix warning in test_threading (#1634) (#1637) https://github.com/python/cpython/commit/f5633e02433a81a6d0f14fc1c3294e752f4ac1a3 -- __

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 44944b602af23712d7119801183cdc6e202e4f76 by Victor Stinner in branch '3.6': bpo-30387: Fix warning in test_threading (#1634) (#1636) https://github.com/python/cpython/commit/44944b602af23712d7119801183cdc6e202e4f76 -- __

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Oh, strange, the test in Python 2.7 doesn't have the bug: see commit 30a5445b30bb627a64b2d30788f6db58f6db3ae1. Compare it to the code in Python 3: commit 9939cc89a4ee54ab50719a597a8b8a0795a691f6. The warning is already fixed in master. I created backports for

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1729 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1727 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset f8d05b3a24e745ab4a974b891ac1389e2f11ce4d by Victor Stinner in branch 'master': bpo-30387: Fix warning in test_threading (#1634) https://github.com/python/cpython/commit/f8d05b3a24e745ab4a974b891ac1389e2f11ce4d -- ___

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/python/cpython/pull/1634 fixes the test_is_alive_after_fork() warning on Linux. -- ___ Python tracker ___ __

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1724 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Oh wait, I succeeded to reproduce the bug on master. In verbose mode, we even get the test name! test_is_alive_after_fork (test.test_threading.ThreadTests) ... Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 21) ok

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: > Seems related to 79ef7f8e88a4972c4aecf95cfc5cd934f1861e08. That's bpo-30357. It's just that before test_threaindg "leaked" tests but there was no warning. Getting a warning is a good thing, it means that we have a bug that it must be fixed ;-) --

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: What is your OS? On which Python version? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread Xiang Zhang
New submission from Xiang Zhang: Running test_threading throws a warning now. ./python -m test test_threading Run tests sequentially 0:00:00 load avg: 0.22 [1/1] test_threading Warning -- threading_cleanup() failed to cleanup 0 threads after 2 sec (count: 0, dangling: 21) 1 test OK. Total dura