Re: builtin function compile exceptions thrown?
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
Re: builtin function compile exceptions thrown?
Thank you, James Martin v. Löwis wrote: 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
builtin function compile exceptions thrown?
What exceptions (if any) can the python builtin compile() function throw besides SyntaxError? -- http://mail.python.org/mailman/listinfo/python-list