Yury Selivanov added the comment: Another bug:
class MainError(Exception): pass class SubError(Exception): pass def main(): try: raise MainError() except MainError: yield coro = main() coro.send(None) coro.throw(SubError()) SubError will propagate, but won't have MainError in its __context__ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25612> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com