[issue6210] Exception Chaining missing method for suppressing context
Ethan Furman
report at bugs.python.org
Fri Jan 27 00:12:14 CET 2012
Ethan Furman <ethan at stoneleaf.us> added the comment:
I went with
raise ... from None
instead of
raise as ...
because there seemed to me more support for 'from None' on python-dev, possible confusion with 'raise as', and 'from None' follows the existing systax of
raise SomeError() from SomeOtherError()
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6210>
_______________________________________
More information about the Python-bugs-list
mailing list