Message26962
Logged In: YES
user_id=341410
Here's a subclass that doesn't send on push...
class MyAsyncChat(asynchat.async_chat):
def push (self, data):
self.producer_fifo.push (simple_producer (data))
That's it.
And according to my reading of asynchat and asyncore, while
actually trying to send data during a push() may trigger the
handle_error() method to be called, by default, the
handle_error() method logs the error and closes the socket.
Errors don't seem to propagate out of push(). |
|
Date |
User |
Action |
Args |
2007-08-23 14:36:28 | admin | link | issue1370380 messages |
2007-08-23 14:36:28 | admin | create | |
|