Ethan Furman <et...@stoneleaf.us> added the comment:

> I said the *except* block, not the *try* block ;)

Ah.  So you did.

Okay, if I'm understanding correctly, the scenario you are talking about 
involves the code in the except block calling some other function, and that 
other function is raising an exception...  seems unlikely that this would be a 
case of transforming one exception into another, therefore the raise should not 
suppress the context by default...  okay, I'll concede the point.

Looks like the best option, then, is Nick's idea of the .no_context() method on 
exceptions.

----------
versions: +Python 3.2 -Python 3.3

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

Reply via email to