[issue26789] logging: Trying to log during Python finalization with NameError: name 'open' is not defined

STINNER Victor report at bugs.python.org
Fri Oct 30 10:24:35 EDT 2020


STINNER Victor <vstinner at 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 <report at bugs.python.org>
<https://bugs.python.org/issue26789>
_______________________________________


More information about the Python-bugs-list mailing list