Message173545
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 |
|
Date |
User |
Action |
Args |
2012-10-22 16:51:27 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, pitrou, vstinner, jnoller, synapse, asksol, dmalcolm, danken, Erez.Sh, sbt, William.Edwards |
2012-10-22 16:51:27 | giampaolo.rodola | set | messageid: <1350924687.21.0.574521742975.issue10527@psf.upfronthosting.co.za> |
2012-10-22 16:51:27 | giampaolo.rodola | link | issue10527 messages |
2012-10-22 16:51:27 | giampaolo.rodola | create | |
|