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 socketpair
Recipients socketpair
Date 2011-02-21.05:54:31
SpamBayes Score 0.0005531748
Marked as misclassified No
Message-id <1298267672.06.0.624805045141.issue11267@psf.upfronthosting.co.za>
In-reply-to
Content
asyncore.py: poll2() :
--------------------
if flags:
    # Only check for exceptions if object was either readable
    # or writable.
    flags |= select.POLLERR | select.POLLHUP | select.POLLNVAL
    pollster.register(fd, flags)
--------------------

This is unexpected behaviour. Why descriptor does not get polled if neither read nor write selected ? So I can not track dropping of connection if I do not want neither read nor write. I think "if flags:" should be removed.
History
Date User Action Args
2011-02-21 05:54:32socketpairsetrecipients: + socketpair
2011-02-21 05:54:32socketpairsetmessageid: <1298267672.06.0.624805045141.issue11267@psf.upfronthosting.co.za>
2011-02-21 05:54:31socketpairlinkissue11267 messages
2011-02-21 05:54:31socketpaircreate