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 mark.dickinson
Recipients donmez, mark.dickinson
Date 2009-05-07.12:09:43
SpamBayes Score 7.8507284e-10
Marked as misclassified No
Message-id <1241698185.46.0.114653486371.issue5798@psf.upfronthosting.co.za>
In-reply-to
Content
I tried to track this down, but ran out of time.  Here's
the little that I discovered;  maybe someone else with
access to OS X (which I have) and an understanding of
poll (which I lack) can build on this.

The failure has to do with select.poll differences between Linux
and OS X.  It seems that OS X can return POLLIN | POLLPRI | POLLHUP
in situations where Linux just returns POLLIN, and this combination
of flags causes the code in asyncore to first close the socket and
then try to read from it.  The relevant code is at around line 440
of Lib/asyncore.py.
History
Date User Action Args
2009-05-07 12:09:45mark.dickinsonsetrecipients: + mark.dickinson, donmez
2009-05-07 12:09:45mark.dickinsonsetmessageid: <1241698185.46.0.114653486371.issue5798@psf.upfronthosting.co.za>
2009-05-07 12:09:44mark.dickinsonlinkissue5798 messages
2009-05-07 12:09:43mark.dickinsoncreate