Message221136
To me the patched code in readwrite seems cut and paste. Could it be written something like this?
have_fileno = not map or obj._fileno in map
if have_fileno and flags & select.POLLIN:
obj.handle_read_event()
if have_fileno and flags & select.POLLOUT:
obj.handle_write_event()
if have_fileno and flags & select.POLLPRI:
obj.handle_expt_event()
if (have_fileno and flags & (select.POLLHUP | select.POLLERR | select.POLLNVAL):
obj.handle_close() |
|
Date |
User |
Action |
Args |
2014-06-21 00:27:39 | BreamoreBoy | set | recipients:
+ BreamoreBoy, josiahcarlson, giampaolo.rodola, stutzbach, neologix, xdegaye |
2014-06-21 00:27:38 | BreamoreBoy | set | messageid: <1403310458.84.0.0474092230602.issue13372@psf.upfronthosting.co.za> |
2014-06-21 00:27:38 | BreamoreBoy | link | issue13372 messages |
2014-06-21 00:27:37 | BreamoreBoy | create | |
|