next up previous contents index
Next: The Parts of the Up: The Compiler Previous: Undefined Warnings   Contents   Index


Interpreting Error Messages

compiler compiler error messages

One of Python's unique features is the level of source location information it provides in error messages. The error messages contain a lot of detail in a terse format, to they may be confusing at first. Error messages will be illustrated using this example program:

(defmacro zoq (x) `(roq (ploq (+ ,x 3))))

(defun foo (y) (declare (symbol y)) (zoq y))

The main problem with this program is that it is trying to add 3 to a symbol. Note also that the functions roq and ploq aren't defined anywhere.



Subsections

Peter Van Eynde 2001-03-08