[Python-bugs-list] [ python-Bugs-415597 ] asynchat.py - bug in terminator find
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 11 Apr 2001 23:14:17 -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: Closed
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 !
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2001-04-11 23:14
Message:
Logged In: YES
user_id=31435
Yes, this was fixed a few days in the CVS tree, and will be
distributed with Python 2.1.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=415597&group_id=5470