[Raymond Hettinger] > Anyone who has worked on sockets or asyncore should take a look at SF > bug #1010098: CPU usage shoots up with asyncore. Since Py2.3, the > behavior changed for the worse. The bug report has been around for > about five weeks and doesn't look like it is actively being solved. If > you worked on those modules, please review your check-ins to see if they > were the cause: > > www.python.org/sf/1010098 FYI, as I noted in a comment there, I stared at that one long enough to determine that asyncore almost certainly wasn't to blame (despite the OP's natural belief that it must be). Instead something "above" asyncore changed so that a socket *always* shows up as "ready to write" in 2.4, but hardly ever in 2.3. CPU usage is nailed to 100% as a consequence in 2.4, while in 2.3 asyncore's select() times out instead, consuming almost no CPU.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4