[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread STINNER Victor
STINNER Victor added the comment: Ok, I fixed Python 3.6 and master (future 3.7). Python 3.5 is slowly entering security-only fixes. I don't think that this corner case is improtant enough to justify a backport. -- ___ Python tracker

[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset efe9fcbd2ca85ba9d6af6d95cc530a9c332f37c5 by Victor Stinner in branch '3.6': bpo-31034: Reliable signal handler for test_asyncio (#2867) (#2876) https://github.com/python/cpython/commit/efe9fcbd2ca85ba9d6af6d95cc530a9c332f37c5 --

[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread STINNER Victor
STINNER Victor added the comment: Patch to test manually the fix: diff --git a/Lib/test/test_asyncio/__init__.py b/Lib/test/test_asyncio/__init__.py index 80a9eea..1418952 100644 --- a/Lib/test/test_asyncio/__init__.py +++ b/Lib/test/test_asyncio/__init__.py @@ -1,3 +1,4 @@ +import signal;

[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2927 ___ Python tracker ___ ___

[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread Charalampos Stratakis
Changes by Charalampos Stratakis : -- nosy: +cstratak versions: +Python 3.6 ___ Python tracker ___

[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 830080913c22a9834d310294b9f7653234dc6a59 by Victor Stinner in branch 'master': bpo-31034: Reliable signal handler for test_asyncio (#2867) https://github.com/python/cpython/commit/830080913c22a9834d310294b9f7653234dc6a59 --

[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2918 ___ Python tracker ___ ___

[issue31034] test_subprocess_send_signal() of test_asyncio hangs if SIGHUP is ignored

2017-07-25 Thread STINNER Victor
New submission from STINNER Victor: A colleague reported me that the Python test suite hangs on running test_subprocess_send_signal() of test_asyncio. After analysing the issue, it seems like the test hangs becaues the RPM package builder ignores SIGHUP using something like: def