[issue6210] Exception Chaining missing method for suppressing context
report at bugs.python.org
Fri Dec 31 11:38:53 CET 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
Le vendredi 31 décembre 2010 à 00:07 +0000, Patrick W. a écrit :
> Patrick W. <poke at BornToLaugh.de> added the comment:
> Antoine Pitrou (pitrou) at 2010-12-30 18:32 (UTC)
> > We are talking about context, not cause.
> Yes, but - as said before - obviously the cause takes a higher
> precedence than context (otherwise it wouldn't show a context message
> when you explicitely set that). So when *explicitely* setting the
> cause to `None`, it should use the cause `None` and ignore the
> context, and as such display nothing.
It looks quite unintuitive to me, though.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list