Author neologix
Recipients docs@python, gvanrossum, neologix, python-dev, vstinner
Date 2013-12-08.08:53:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386492812.9.0.267959687164.issue19876@psf.upfronthosting.co.za>
In-reply-to
Content
The test is failing on Windows buildbot:
http://buildbot.python.org/all/builders/x86%20Windows%20Server%202003%20%5BSB%5D%203.x/builds/1851/steps/test/logs/stdio
"""
======================================================================
ERROR: test_unregister_after_fd_close_and_reuse (test.test_selectors.DefaultSelectorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Data\buildslave\cpython\3.x.snakebite-win2k3r2sp2-x86\build\lib\test\test_selectors.py", line 122, in test_unregister_after_fd_close_and_reuse
    os.dup2(rd2.fileno(), r)
OSError: [Errno 9] Bad file descriptor

======================================================================
ERROR: test_unregister_after_fd_close_and_reuse (test.test_selectors.SelectSelectorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Data\buildslave\cpython\3.x.snakebite-win2k3r2sp2-x86\build\lib\test\test_selectors.py", line 122, in test_unregister_after_fd_close_and_reuse
    os.dup2(rd2.fileno(), r)
OSError: [Errno 9] Bad file descriptor
"""

Apparently, dup2() doesn't work on Windows because on Windows, sockets aren't file descriptors, but a different beast...
History
Date User Action Args
2013-12-08 08:53:32neologixsetrecipients: + neologix, gvanrossum, vstinner, docs@python, python-dev
2013-12-08 08:53:32neologixsetmessageid: <1386492812.9.0.267959687164.issue19876@psf.upfronthosting.co.za>
2013-12-08 08:53:32neologixlinkissue19876 messages
2013-12-08 08:53:32neologixcreate