Yury Selivanov <yseliva...@gmail.com> added the comment:
You should try to use the contextvars module that was specifically created to handle local context state (for tasks & coroutines). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33918> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com