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 <1350924687.21.0.574521742975.issue10527@psf.upfronthosting.co.za>
In-reply-to
Content
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/test_multiprocessing.py", line 2852, in test_invalid_handles
    self.assertRaises((ValueError, IOError), conn.poll)
AssertionError: (<class 'ValueError'>, <class 'OSError'>) not raised by poll
History
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: <1350924687.21.0.574521742975.issue10527@psf.upfronthosting.co.za>
2012-10-22 16:51:27giampaolo.rodolalinkissue10527 messages
2012-10-22 16:51:27giampaolo.rodolacreate