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 kimhyunkang
Recipients kimhyunkang
Date 2010-07-05.02:26:51
SpamBayes Score 3.2601502e-06
Marked as misclassified No
Message-id <1278296813.27.0.585763714278.issue9159@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2010-07-05 02:26:53kimhyunkangsetrecipients: + kimhyunkang
2010-07-05 02:26:53kimhyunkangsetmessageid: <1278296813.27.0.585763714278.issue9159@psf.upfronthosting.co.za>
2010-07-05 02:26:52kimhyunkanglinkissue9159 messages
2010-07-05 02:26:51kimhyunkangcreate