Message300627
| Author | vstinner |
|---|---|
| Recipients | pitrou, vstinner |
| Date | 2017-08-21.14:31:26 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1503325886.78.0.668081622637.issue31246@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It's related to bpo-30807, "setitimer() can disable timer by mistake". Test code: def test_setitimer_tiny(self): # bpo-30807: C setitimer() takes a microsecond-resolution interval. # Check that float -> timeval conversion doesn't round # the interval down to zero, which would disable the timer. self.itimer = signal.ITIMER_REAL signal.setitimer(self.itimer, 1e-6) time.sleep(1) self.assertEqual(self.hndl_called, True) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-08-21 14:31:26 | vstinner | set | recipients: + vstinner, pitrou |
| 2017-08-21 14:31:26 | vstinner | set | messageid: <1503325886.78.0.668081622637.issue31246@psf.upfronthosting.co.za> |
| 2017-08-21 14:31:26 | vstinner | link | issue31246 messages |
| 2017-08-21 14:31:26 | vstinner | create | |