Nick Coghlan <ncogh...@gmail.com> added the comment:

For "can't tell" in my previous message, read "we aren't going to impose the 
requirement to be able to tell if an exception is being raised directly in the 
current exception handler as a feature of conforming Python implementations". 
We probably *could* tell the difference in CPython if we really wanted to.

Even without considering that aspect, it would also be seriously odd if putting 
the exception raising into a helper function suddenly caused context 
information to be included that was otherwise implicitly suppressed. Much 
better to correctly support explicit suppression of the context as discussed 
earlier in the issue.

----------

_______________________________________
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