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 giampaolo.rodola
Recipients Erez.Sh, William.Edwards, asksol, danken, dmalcolm, giampaolo.rodola, jnoller, pitrou, sbt, synapse, vstinner
Date 2012-10-22.16:51:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
A preliminary patch is in attachment.
By default it uses select() but looks for ValueError (raised in case FD_SETSIZE gets hit) and falls back on using poll().

This is the failure I get when running tests on Linux.
It is related to issue 3321 and I'm not sure what to do with it (remove the test maybe?).

FAIL: test_invalid_handles (__main__.TestInvalidHandle)
Traceback (most recent call last):
  File "Lib/test/", line 2852, in test_invalid_handles
    self.assertRaises((ValueError, IOError), conn.poll)
AssertionError: (<class 'ValueError'>, <class 'OSError'>) not raised by poll
Date User Action Args
2012-10-22 16:51:27giampaolo.rodolasetrecipients: + giampaolo.rodola, pitrou, vstinner, jnoller, synapse, asksol, dmalcolm, danken, Erez.Sh, sbt, William.Edwards
2012-10-22 16:51:27giampaolo.rodolasetmessageid: <>
2012-10-22 16:51:27giampaolo.rodolalinkissue10527 messages
2012-10-22 16:51:27giampaolo.rodolacreate