[issue10878] asyncore does not react properly on close()

Teodor Georgiev report at bugs.python.org
Mon Jan 10 12:03:25 CET 2011


Teodor Georgiev <lv_tokata at yahoo.com> added the comment:

Sorry, I forgot to mention - I have already tried to return False, but there was no difference.

def readable(self):
        if time.time() >= self.timeout:
            self.close()
            return False
         else:
            return True

----------
resolution: invalid -> 
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10878>
_______________________________________


More information about the Python-bugs-list mailing list