Irit Katriel <iritkatr...@gmail.com> added the comment:
For your use case - can you just assign the task to a field on the exception other than __note__? The only reason we needed __note__ as an official feature is because we want the interpreter's traceback code to use it. But I think you can assign any field to an exception and then use it in your app: e.webapp_task = task ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46431> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com