[Types-sig] Low-hanging fruit: recognizing builtins

Paul Prescod paul@prescod.net
Wed, 15 Dec 1999 15:55:05 -0800


Guido van Rossum wrote:
> 
> 
> Dynamic bytecode registration would slow the PVM too much.  

I was thinking of just changing this:

default:
	handler = handlers[opcode];
	if( handler ){
		handler( f );
	}else{

		fprintf(stderr,

			"XXX lineno: %d, opcode: %d\n",

			f->f_lineno, opcode);

		PyErr_SetString(PyExc_SystemError, "unknown opcode");

		why = WHY_EXCEPTION;

		break;
	}


-- 
 Paul Prescod  - ISOGEN Consulting Engineer speaking for himself
Three things to be wary of: A new kid in his prime
A man who knows the answers, and code that runs first time
http://www.geezjan.org/humor/computers/threes.html