James Thiele wrote:
> What exceptions (if any) can the python builtin compile() function
> throw besides SyntaxError?

- TypeError, if the parameters are wrong/too many/too few
- Any errors that a codec may raise, if there is an encoding
  declaration, plus (pre 2.5) MemoryError if the encoding is
  unknown.
- MemoryError, if you run out of memory
- SystemError, for various internal-error conditions

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to