Yury Selivanov <yseliva...@gmail.com> added the comment: > I like the idea of having an argument to construct the CancelledError with, > but I like even more the ability to tell the exception that will be raised to > have the traceback of the point where the task was originally cancelled.
Why don't we make CancelledErrors having proper traceback a default behaviour? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31033> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com