STINNER Victor <vstin...@python.org> added the comment:
I marked bpo-39513 and bpo-42203 as duplicates of this issue. I changed the title to reflect that the root issue is that logging during Python finalization can fail with NameError: name 'open' is not defined. ---------- components: +Library (Lib) -asyncio nosy: +vstinner title: asyncio: Please do not log during shutdown -> logging: Trying to log during Python finalization with NameError: name 'open' is not defined versions: +Python 3.10 -Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26789> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com