Georg Brandl added the comment:

The raise statement without any arguments re-raises the last raised
exception, complete with traceback, see
http://docs.python.org/dev/reference/simple_stmts.html#the-raise-statement. 

Therefore your usage of the raise statement is incorrect; you should
always use

raise SomeException("some message")

----------
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1244>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to