This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author smurfix
Recipients gvanrossum, smurfix, vstinner, yselivanov
Date 2016-04-17.15:12:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
… or, if you do, ignore errors.

This is during program shutdown. Unfortunately, I am unable to create a trivial example which exhibits the order of destruction necessary to trigger this problem.

Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/", line 93, in __del__
  File "/usr/lib/python3.5/asyncio/", line 1160, in call_exception_handler
  File "/usr/lib/python3.5/logging/", line 1308, in error
  File "/usr/lib/python3.5/logging/", line 1415, in _log
  File "/usr/lib/python3.5/logging/", line 1425, in handle
  File "/usr/lib/python3.5/logging/", line 1487, in callHandlers
  File "/usr/lib/python3.5/logging/", line 855, in handle
  File "/usr/lib/python3.5/logging/", line 1047, in emit
  File "/usr/lib/python3.5/logging/", line 1037, in _open
NameError: name 'open' is not defined
Date User Action Args
2016-04-17 15:12:07smurfixsetrecipients: + smurfix, gvanrossum, vstinner, yselivanov
2016-04-17 15:12:07smurfixsetmessageid: <>
2016-04-17 15:12:07smurfixlinkissue26789 messages
2016-04-17 15:12:07smurfixcreate