Re: Showing errors explicitly in try... except

2005-04-01 Thread Peter Hansen
Harlin Seritt wrote: When using try... except... errors don't show up. Is there a way to force stderr despite using try...except? "force", no. The "stderr" stuff is done by an "unhandled exception" handler that is at the very top level, so if you catch the exception, it will never see it to print

Re: Showing errors explicitly in try... except

2005-04-01 Thread John Roth
"Harlin Seritt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] When using try... except... errors don't show up. Is there a way to force stderr despite using try...except? If you're looking for stack traces, look at the inspect and traceback modules. They contain the tools to do just

Showing errors explicitly in try... except

2005-04-01 Thread Harlin Seritt
When using try... except... errors don't show up. Is there a way to force stderr despite using try...except? thanks, Harlin Seritt -- http://mail.python.org/mailman/listinfo/python-list