[Python-Dev] Is core dump always a bug? Advice requested

Greg Ewing greg at cosc.canterbury.ac.nz
Tue May 11 01:04:43 EDT 2004


Bob Ippolito <bob at redivi.com>:

> Doing extensive checking of bytecode at runtime would make Python's
> interpreter much slower than it already is.

Another approach would be to make the bytecode a special object
that can only be created by the compiler (or other C code). If
you wanted custom bytecode, you'd have to build an AST and feed
it to the compiler, or write an extension module.

No doubt some bytecode hackers would find this too limiting,
however.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+



More information about the Python-Dev mailing list