
noreply at sourceforge
Jan 24, 2001, 8:50 AM
Post #4 of 4
(45 views)
Permalink
|
|
[Bug #123225] asyncore.py should use select.poll(), not "import poll"
[In reply to]
|
|
Bug #123225, was updated on 2000-Nov-22 20:41 Here is a current snapshot of the bug. Project: Python Category: Python Library Status: Closed Resolution: Fixed Bug Group: Not a Bug Priority: 5 Submitted by: nobody Assigned to : akuchling Summary: asyncore.py should use select.poll(), not "import poll" Details: The Python2.0 asyncore module is able to use the poll system call (claimed to be much more efficient than select for large numbers of requests), however, it tries to "import poll", which fails (there is no pollmodule supplied with Python2.0), whereas it could use the poll available with the select module (select.poll()). Follow-Ups: Date: 2001-Jan-24 07:50 By: akuchling Comment: Fixed in revision 1.9 of asyncore.py. ------------------------------------------------------- Date: 2001-Jan-19 08:13 By: akuchling Comment: I haven't really tested the patch (though I can make time for doing so before alpha2), and simply just don't like forking the code. I've pinged the mailing list, but have heard nothing yet. If Sam remains silent, I'll test the patch and then check it in. ------------------------------------------------------- Date: 2001-Jan-18 19:41 By: gvanrossum Comment: Would it be really bad if we applied this without waiting for Sam? Maybe Sam is busy (after egroups was aquired by Yahoo I think he decided to move to the SF bay area and/or change jobs). Maybe he's not yet on the Python 2.x bandwagon. What's wrong with a (temporary) fork in the code? ------------------------------------------------------- Date: 2001-Jan-18 13:44 By: akuchling Comment: The patch is archived at http://www.egroups.com/message/medusa/262 . Still no word from Sam Rushing on whether he accepted it. ------------------------------------------------------- Date: 2000-Dec-22 06:43 By: akuchling Comment: A patch to use Python 2.0's select.poll() has been sent off to the medusa [at] egroups mailing list. Assuming the patch is accepted, this bug will be fixed when we pick up the latest version of asyncore.py before Python 2.1 is finalized. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=123225&group_id=5470
|