A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-October/029902.html below:

[Python-checkins] python/dist/src/Python ceval.c,2.337,2.338

[Python-checkins] python/dist/src/Python ceval.c,2.337,2.338mwh@users.sourceforge.net mwh@users.sourceforge.net
Thu, 03 Oct 2002 02:53:13 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv1097/Python

Modified Files:
	ceval.c 
Log Message:
One last tweak to the tracing machinery: this actually computes what I intended
all along.  Before instr_lb tended to be too high.

I don't think this actually makes any difference, given what the compiler
produces, but it makes me a bit happier.



Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.337
retrieving revision 2.338
diff -C2 -d -r2.337 -r2.338
*** ceval.c	2 Oct 2002 13:13:46 -0000	2.337
--- ceval.c	3 Oct 2002 09:53:11 -0000	2.338
***************
*** 2967,2973 ****
--- 2967,2975 ----
  				break;
  			addr += *p++;
+ 			if (*p) *instr_lb = addr;
  			line += *p++;
  			--size;
  		}
+ 
  		if (addr == frame->f_lasti) {
  			frame->f_lineno = line;
***************
*** 2975,2979 ****
  				   PyTrace_LINE, Py_None);
  		}
! 		*instr_lb = addr;
  		if (size > 0) {
  			while (--size >= 0) {
--- 2977,2981 ----
  				   PyTrace_LINE, Py_None);
  		}
! 
  		if (size > 0) {
  			while (--size >= 0) {





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4