Viktor Ferenczi <pyt...@cx.hu> added the comment:

>From the manual of the sys module:

"""
last_type 
last_value
last_traceback

These three variables are not always defined; they are set when an
exception is not handled and the interpreter prints an error message and
a stack traceback.
"""

So the AttributeError is normal in this case.

Changed the bug type to "behavior", since a more meaningful error
message than AttributeError would be very useful in this case.

Thanks.

----------
type: crash -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6307>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to