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 BreamoreBoy
Recipients BreamoreBoy, giampaolo.rodola, josiahcarlson, neologix, stutzbach, xdegaye
Date 2014-06-21.00:27:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403310458.84.0.0474092230602.issue13372@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2014-06-21 00:27:39BreamoreBoysetrecipients: + BreamoreBoy, josiahcarlson, giampaolo.rodola, stutzbach, neologix, xdegaye
2014-06-21 00:27:38BreamoreBoysetmessageid: <1403310458.84.0.0474092230602.issue13372@psf.upfronthosting.co.za>
2014-06-21 00:27:38BreamoreBoylinkissue13372 messages
2014-06-21 00:27:37BreamoreBoycreate