[Python-checkins] python/dist/src/Modules _hotshot.c,1.26,1.27

Raymond Hettinger python@rcn.com
Wed, 11 Sep 2002 12:56:36 -0400


Houston, we have a problem:

C:\py23\Modules\_hotshot.c(891) : error C2198: 'pack_lineno_tdelta' : too few actual parameters
C:\py23\Modules\_hotshot.c(892) : error C2059: syntax error : ')'

----- Original Message ----- 
From: <mwh@users.sourceforge.net>
To: <python-checkins@python.org>
Sent: Wednesday, September 11, 2002 11:36 AM
Subject: [Python-checkins] python/dist/src/Modules _hotshot.c,1.26,1.27


> 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:
> 
> 
> 
> _______________________________________________
> Python-checkins mailing list
> Python-checkins@python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>