Message87447
Indeed, the unmodified test_asynchat.py now passes in Python 3.1b1. The
readwrite function in asyncore looks like this now:
def readwrite(obj, flags):
try:
if flags & (select.POLLHUP | select.POLLERR | select.POLLNVAL):
obj.handle_close()
else:
if flags & select.POLLIN:
obj.handle_read_event()
if flags & select.POLLOUT: # and obj.connected:
obj.handle_write_event()
if flags & select.POLLPRI: # and obj.connected:
obj.handle_expt_event()
except _reraised_exceptions:
raise
except:
obj.handle_error() |
|
Date |
User |
Action |
Args |
2009-05-08 16:18:48 | MrJean1 | set | recipients:
+ MrJean1, facundobatista, josiahcarlson, mark.dickinson, alanmcintyre, giampaolo.rodola, donmez, r.david.murray |
2009-05-08 16:18:48 | MrJean1 | set | messageid: <1241799528.09.0.00138242138323.issue5798@psf.upfronthosting.co.za> |
2009-05-08 16:18:46 | MrJean1 | link | issue5798 messages |
2009-05-08 16:18:46 | MrJean1 | create | |
|