Message255060
>What's the point of your bug report?
To show surprising platform-dependent API behavior. I don't know what is the correct behavior here, but it should be cross platform. Seems like the most sane option is to throw an exception.
>Does your application really rely on the behaviour of the selector when no file descriptor is registered?
It was developed on Mac and relied (quite probably incorrectly) on the empty list result. When I run it on linux, it unexpectedly hanged.
So, I would like to either
* observe an exception on all platforms
* observe an empty list on all platforms
* observe infinite blocking on all platforms
I think this special case should also be mentioned in the docs. |
|
Date |
User |
Action |
Args |
2015-11-21 16:01:09 | Aleksey Kladov | set | recipients:
+ Aleksey Kladov, vstinner |
2015-11-21 16:01:08 | Aleksey Kladov | set | messageid: <1448121668.99.0.342630988773.issue25680@psf.upfronthosting.co.za> |
2015-11-21 16:01:08 | Aleksey Kladov | link | issue25680 messages |
2015-11-21 16:01:08 | Aleksey Kladov | create | |
|