…arnings in Python 2.6 (also, if you don't use the default .args attribute, then you should add a __str__ method to display the message in the stack trace). It's simpler to just use the BaseException mechanisms. The additional print statement is not necessary any more because the error message is now printed properly at the end of the stack trace.

branch : 2.0
extra : rebase_source : 8f4081316a3dfff2902bdc450aed500f015612ed