Message223717
"Also, given set_wakeup_fd() is rather specialized and uncommon, I don't see much point in making it more convenient."
The problem is that passing a blocking file descriptor can block the whole Python process. The hang does not occur immediatly, but only when the pipe is full for example, which may only occur in some corner cases (ex: heavy system load, slow network, etc.).
The minimum would be to raise an error if the file descriptor is in blocking mode. |
|
Date |
User |
Action |
Args |
2014-07-23 02:15:19 | vstinner | set | recipients:
+ vstinner, pitrou, neologix |
2014-07-23 02:15:19 | vstinner | set | messageid: <1406081719.81.0.333799437527.issue22042@psf.upfronthosting.co.za> |
2014-07-23 02:15:19 | vstinner | link | issue22042 messages |
2014-07-23 02:15:19 | vstinner | create | |
|