Guido van Rossum <gu...@python.org> added the comment:
But that example is made-up. Is there a real-world situation where you need to know the call site, and it wouldn't be obvious from other log messages? Directly cancelling a task without also somehow catching the cancellation (like in the timeout or task group cases) feels like an odd practice to me. And passing the cancel message through is complex (as we've seen in recent PRs). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46829> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com