Author MrJean1
Recipients MrJean1, alanmcintyre, donmez, facundobatista, giampaolo.rodola, josiahcarlson, mark.dickinson, r.david.murray
Date 2009-05-08.16:18:45
SpamBayes Score 0.00245699
Marked as misclassified No
Message-id <1241799528.09.0.00138242138323.issue5798@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2009-05-08 16:18:48MrJean1setrecipients: + MrJean1, facundobatista, josiahcarlson, mark.dickinson, alanmcintyre, giampaolo.rodola, donmez, r.david.murray
2009-05-08 16:18:48MrJean1setmessageid: <1241799528.09.0.00138242138323.issue5798@psf.upfronthosting.co.za>
2009-05-08 16:18:46MrJean1linkissue5798 messages
2009-05-08 16:18:46MrJean1create