Message179907
> What do you mean? The intent was to use poll() instead of select()
> anywhere available in order to avoid running out of fds.
> The change didn't affect Windows because as of right now select() is
> the only thing available.
The change *only* effects Windows. Currently the code goes
if sys.platform != 'win32':
...
else:
if hasattr(select, 'poll'):
def _poll(fds, timeout):
...
else:
def _poll(fds, timeout):
...
So _poll() is only defined when sys.platform == 'win32'.
Furthermore, the _poll() function is never used anywhere: ConnectionBase.poll() uses Connection._poll(), which uses wait(), which uses select(). |
|
Date |
User |
Action |
Args |
2013-01-14 00:24:06 | sbt | set | recipients:
+ sbt, pitrou, vstinner, giampaolo.rodola, jnoller, synapse, asksol, dmalcolm, neologix, danken, Erez.Sh, python-dev, William.Edwards |
2013-01-14 00:24:06 | sbt | set | messageid: <1358123046.25.0.980709637277.issue10527@psf.upfronthosting.co.za> |
2013-01-14 00:24:06 | sbt | link | issue10527 messages |
2013-01-14 00:24:04 | sbt | create | |
|