Giampaolo Rodola' added the comment:

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

----------
Added file: http://bugs.python.org/file27664/issue10527.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10527>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to