New submission from kimhyunkang <[email protected]>:
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()
----------
components: Library (Lib)
messages: 109287
nosy: kimhyunkang
priority: normal
severity: normal
status: open
title: asyncore.file_wrapper does not register its fd to socket_map
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9159>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com