Message266691
When we talk about signals, we must always be careful of threads. Python unit tests are known (at least by me ;-)) to "leak" threads. IMO the first step to make the test more reliable is to start it in a fresh process to control exactly the number of threads.
A fresh process avoids also to inherit an expected signal and/or signal handler.
I modified test_eintr recently to do something similar. |
|
Date |
User |
Action |
Args |
2016-05-30 12:47:45 | vstinner | set | recipients:
+ vstinner, python-dev, martin.panter |
2016-05-30 12:47:45 | vstinner | set | messageid: <1464612465.66.0.0237232967677.issue22331@psf.upfronthosting.co.za> |
2016-05-30 12:47:45 | vstinner | link | issue22331 messages |
2016-05-30 12:47:45 | vstinner | create | |
|