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 mark.dickinson
Recipients MrJean1, alanmcintyre, donmez, facundobatista, giampaolo.rodola, josiahcarlson, mark.dickinson, r.david.murray
Date 2009-05-07.20:30:14
SpamBayes Score 3.20036e-07
Marked as misclassified No
Message-id <>
Getting rid of the and ... on the handle_read_event didn't make a 
difference:  I still get the hang in test_close_when_done.

But if I get rid of the and clause on the handle_write_event branch then
all the test_asynchat tests pass.  So that block now looks like:

        if flags & select.POLLIN and (obj.connected or obj.accepting):
        if flags & select.POLLOUT:
        if flags & select.POLLPRI and obj.connected:
        if flags & (select.POLLHUP | select.POLLERR | select.POLLNVAL):

in my code.  So we're making progress (maybe). Unfortunately, 
test_asyncore now fails with:

FAIL: test_readwrite (__main__.HelperFunctionTests)
Traceback (most recent call last):
  File "Lib/test/", line 161, in test_readwrite
    self.assertEqual(getattr(tobj, attr), attr==expectedattr)
AssertionError: False != True
Date User Action Args
2009-05-07 20:30:16mark.dickinsonsetrecipients: + mark.dickinson, facundobatista, josiahcarlson, alanmcintyre, giampaolo.rodola, donmez, MrJean1, r.david.murray
2009-05-07 20:30:16mark.dickinsonsetmessageid: <>
2009-05-07 20:30:15mark.dickinsonlinkissue5798 messages
2009-05-07 20:30:14mark.dickinsoncreate