- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | pablogsal |
|---|---|
| Recipients | asvetlov, ned.deily, pablogsal, ronaldoussoren, yselivanov |
| Date | 2018-12-28.03:45:58 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1545968759.07.0.590219498678.issue35601@roundup.psfhosted.org> |
| In-reply-to |
| Content |
|---|
There is a race condition in FAIL: test_signal_handling_args (test.test_asyncio.test_events.KqueueEventLoopTests) in macOS: https://buildbot.python.org/all/#/builders/147/builds/546/steps/4/logs/stdio ====================================================================== FAIL: test_signal_handling_args (test.test_asyncio.test_events.KqueueEventLoopTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildbot/buildarea/3.7.billenstein-sierra/build/Lib/test/test_asyncio/test_events.py", line 595, in test_signal_handling_args self.assertEqual(caught, 1) AssertionError: 0 != 1 It seems that SIGALRM is never received in the 0.5 seconds of timeout: def test_signal_handling_args(self): some_args = (42,) caught = 0 def my_handler(*args): nonlocal caught caught += 1 self.assertEqual(args, some_args) self.loop.add_signal_handler(signal.SIGALRM, my_handler, *some_args) signal.setitimer(signal.ITIMER_REAL, 0.1, 0) # Send SIGALRM once. self.loop.call_later(0.5, self.loop.stop) self.loop.run_forever() self.assertEqual(caught, 1) Maybe we should set up a much bigger timeout and make the handle stop the event loop. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-12-28 03:46:01 | pablogsal | set | recipients: + pablogsal, ronaldoussoren, ned.deily, asvetlov, yselivanov |
| 2018-12-28 03:45:59 | pablogsal | set | messageid: <1545968759.07.0.590219498678.issue35601@roundup.psfhosted.org> |
| 2018-12-28 03:45:59 | pablogsal | link | issue35601 messages |
| 2018-12-28 03:45:58 | pablogsal | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
