homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients Erez.Sh, William.Edwards, asksol, danken, dmalcolm, giampaolo.rodola, jnoller, neologix, pitrou, python-dev, sbt, synapse, vstinner
Date 2013年01月14日.00:24:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358123046.25.0.980709637277.issue10527@psf.upfronthosting.co.za>
In-reply-to
Content
> 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().
History
Date User Action Args
2013年01月14日 00:24:06sbtsetrecipients: + sbt, pitrou, vstinner, giampaolo.rodola, jnoller, synapse, asksol, dmalcolm, neologix, danken, Erez.Sh, python-dev, William.Edwards
2013年01月14日 00:24:06sbtsetmessageid: <1358123046.25.0.980709637277.issue10527@psf.upfronthosting.co.za>
2013年01月14日 00:24:06sbtlinkissue10527 messages
2013年01月14日 00:24:04sbtcreate

AltStyle によって変換されたページ (->オリジナル) /