A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-September/049115.html below:

[Python-Dev] Socket/Asyncore bug needs attention

[Python-Dev] Socket/Asyncore bug needs attentionArmin Rigo arigo at tunes.org
Mon Sep 27 19:53:19 CEST 2004
Hello Raymond,

On Mon, Sep 27, 2004 at 12:35:07PM -0400, Raymond Hettinger wrote:
> Anyone who has worked on sockets or asyncore should take a look at SF
> bug #1010098:  CPU usage shoots up with asyncore.  (...)   If
> you worked on those modules, please review your check-ins to see if they
> were the cause:

Funnily enough, the check-in to blame is from you :-)  You replaced
asynchat.py's usage of fifo lists with collection.deque()s, but you overlooked
the test for emptiness, which was 'self.list == []'.  This is fine if
'self.list' is really a list, but not if it is a deque :-)

Fixed, checked in.


Armin
More information about the Python-Dev mailing list

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