New submission from Andrew Svetlov: See https://github.com/KeepSafe/aiohttp/issues/497 for the reason.
Desctructors and descendant code (`loop.call_exception_handler()`) can be called on interpreter shutdown stage, which leads to printouts like 'None object has no attribute "errror"'. ---------- assignee: asvetlov components: asyncio files: asyncio_bind_modules.patch keywords: patch messages: 250490 nosy: asvetlov, gvanrossum, haypo, yselivanov priority: normal severity: normal stage: patch review status: open title: Bind logger and waninigs modules for asyncio __del__ methods type: enhancement versions: Python 3.5, Python 3.6 Added file: http://bugs.python.org/file40442/asyncio_bind_modules.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25074> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com