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 neologix
Recipients giampaolo.rodola, josiahcarlson, neologix, python-dev, stutzbach, terry.reedy, vstinner, xdegaye
Date 2011-10-29.11:37:46
SpamBayes Score 2.27277e-06
Marked as misclassified No
Message-id <1319888266.99.0.531539816522.issue5661@psf.upfronthosting.co.za>
In-reply-to
Content
The test fails on OS X:
"""
======================================================================
ERROR: test_handle_close_after_conn_broken (test.test_asyncore.TestAPI_UseIPv4Poll)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/test/test_asyncore.py", line 661, in test_handle_close_after_conn_broken
    self.loop_waiting_for_flag(client)
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/test/test_asyncore.py", line 523, in loop_waiting_for_flag
    asyncore.loop(timeout=0.01, count=1, use_poll=self.use_poll)
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/asyncore.py", line 215, in loop
    poll_fun(timeout, map)
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/asyncore.py", line 196, in poll2
    readwrite(obj, flags)
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/asyncore.py", line 123, in readwrite
    obj.handle_error()
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/asyncore.py", line 112, in readwrite
    obj.handle_expt_event()
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/asyncore.py", line 476, in handle_expt_event
    self.handle_expt()
  File "/Users/buildbot/buildarea/3.x.parc-snowleopard-1/build/Lib/test/test_asyncore.py", line 470, in handle_expt
    raise Exception("handle_expt not supposed to be called")
Exception: handle_expt not supposed to be called
"""

Looks like the FD is returned in the exception set on OS X...
History
Date User Action Args
2011-10-29 11:37:47neologixsetrecipients: + neologix, terry.reedy, josiahcarlson, vstinner, giampaolo.rodola, stutzbach, xdegaye, python-dev
2011-10-29 11:37:46neologixsetmessageid: <1319888266.99.0.531539816522.issue5661@psf.upfronthosting.co.za>
2011-10-29 11:37:46neologixlinkissue5661 messages
2011-10-29 11:37:46neologixcreate