[Python-checkins] python/dist/src/Modules _hotshot.c,1.26,1.27
mwh@users.sourceforge.net
mwh@users.sourceforge.net
Wed, 11 Sep 2002 08:36:34 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv29209/Modules
Modified Files:
_hotshot.c
Log Message:
A slight change to SET_LINENO-less tracing.
This makes things a touch more like 2.2. Read the comments in
Python/ceval.c for more details.
Index: _hotshot.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_hotshot.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** _hotshot.c 15 Aug 2002 14:59:01 -0000 1.26
--- _hotshot.c 11 Sep 2002 15:36:32 -0000 1.27
***************
*** 889,898 ****
case PyTrace_LINE:
if (self->linetimings)
! return pack_lineno_tdelta(self, PyCode_Addr2Line(frame->f_code,
! frame->f_lasti),
get_tdelta(self));
else
! return pack_lineno(self, PyCode_Addr2Line(frame->f_code,
! frame->f_lasti));
default:
--- 889,896 ----
case PyTrace_LINE:
if (self->linetimings)
! return pack_lineno_tdelta(self, frame->f_lineno),
get_tdelta(self));
else
! return pack_lineno(self, frame->f_lineno);
default: