[Patches] [ python-Patches-559344 ] hotshot logreader unreliable
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 29 May 2002 08:48:46 -0700
Patches item #559344, was opened at 2002-05-22 15:59
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=559344&group_id=5470
Category: Modules
Group: None
Status: Open
>Resolution: Accepted
Priority: 7
Submitted By: Neil Schemenauer (nascheme)
>Assigned to: Neil Schemenauer (nascheme)
Summary: hotshot logreader unreliable
Initial Comment:
The hotshot logreader object does not refill the input
buffer
correctly and gets confused by certain profile log
files. I have
a log file that triggers this bug if anyone is
interested. It can
probably be reproduced by repeatedly profiling a program
with lots of modules and functions and trying to read
the log.
Rather then try to fix the buffer refill I've removed
it entirely.
Using fgetc is much simpler and should perform as well or
better (but who cares).
I think this is a bugfix candidate.
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-05-29 11:48
Message:
Logged In: YES
user_id=3066
Looks good; please check this into the trunk and 2.2-maint
branch.
Thanks!
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=559344&group_id=5470