"Ryan, Adam" wrote:

> sys.exc_info()[1] returns the first 308 characters of an error message from
> a module.  Is there a way to increase the length so it doesn't get cut off?

sys.exc_info()[1] returns the entire contents of the exception parameter.
if it's cut off, it's either cut off by the code raising the exception (C code
sometimes uses a fixed-size buffer to format the exception string), or by
the tool you're using to display the exception.

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to