[Python-bugs-list] [ python-Bugs-415597 ] asynchat.py - bug in terminator find
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 11 Apr 2001 22:37:10 -0700
Bugs item #415597, was updated on 2001-04-11 22:37
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=415597&group_id=5470
Category: Python Library
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: asynchat.py - bug in terminator find
Initial Comment:
Id: asynchat.py,v 2.26 2000/09/07 22:29:26 rushing Exp
line 122-"index = terminator.find (self.ac_in_buffer)"
This should be the other way around -
index = self.ac_in_buffer.find(terminator)
The Python 1.5.2 version I looked at used the string
find method, and in the right order, which works OK.
It doesn't find the data string inside the terminator
string very often in my app !
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=415597&group_id=5470