Message209213
> If the patch is accepted, my changes on Python 3.3 should also be
reverted.
I'm sorry, but I'm not convinced.
The selector's granularity is an implementation detail, and I don't think
it should be exposed.
Furthermore, it's not a mere function of the C type used to represent the
timeout to the underlying syscall (long, timeval): it also depends on the
operating system, the hardware, etc.
Once again, what's wrong with your initial approach of ceiling the timeout?
It does seem reasonable to round away from zero, to ensure - not taking OS
bugs/limitations - that select() will wait at least the passed timeout. |
|
Date |
User |
Action |
Args |
2014-01-25 16:04:04 | neologix | set | recipients:
+ neologix, gvanrossum, georg.brandl, pitrou, vstinner, python-dev, serhiy.storchaka |
2014-01-25 16:04:04 | neologix | link | issue20311 messages |
2014-01-25 16:04:03 | neologix | create | |
|