Message128941
| 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:32 | socketpair | set | recipients: + socketpair |
| 2011-02-21 05:54:32 | socketpair | set | messageid: <1298267672.06.0.624805045141.issue11267@psf.upfronthosting.co.za> |
| 2011-02-21 05:54:31 | socketpair | link | issue11267 messages |
| 2011-02-21 05:54:31 | socketpair | create | |