Message109287
In current stable python 2.6, the test code below does nothing, which is inconsistent with other default dispatcher's behavior.
========
import asyncore
class test_reader(asyncore.file_wrapper)
def writable(self):
return False
def handle_read(self):
print self.recv(4096)
f = open('test.dat', 'r')
reader = test_reader(f.fileno())
asyncore.loop() |
|
Date |
User |
Action |
Args |
2010-07-05 02:26:53 | kimhyunkang | set | recipients:
+ kimhyunkang |
2010-07-05 02:26:53 | kimhyunkang | set | messageid: <1278296813.27.0.585763714278.issue9159@psf.upfronthosting.co.za> |
2010-07-05 02:26:52 | kimhyunkang | link | issue9159 messages |
2010-07-05 02:26:51 | kimhyunkang | create | |
|