[issue14133] improved PEP 409 implementation
Nick Coghlan
report at bugs.python.org
Sun Feb 26 22:27:52 CET 2012
Nick Coghlan <ncoghlan at gmail.com> added the comment:
The other problem with the "separate attribute" approach is that it makes the condition for suppressing the context ugly:
exc.__suppress_context__ or exc.__cause__ is not None
That's hardly cleaner than:
exc.__cause__ is not Ellipsis
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14133>
_______________________________________
More information about the Python-bugs-list
mailing list