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 vinay.sajip
Recipients alanr, erlendaasland, jaraco, ned.deily, ronaldoussoren, vinay.sajip, youtux
Date 2021-01-06.18:23:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609957411.16.0.721596702202.issue38780@roundup.psfhosted.org>
In-reply-to
Content
> As far as I know, this only happens during shutdown. During shutdown it has already removed the attribute as part of the teardown process. In this case adding the attribute at the begining will do no good.

Certainly, that's true - there are a number of issues that get laid at logging's door because of interpreter shutdown sometimes intersecting with asyncio, threads and error handling using logging to report, which then fails in turn because of inconsistent interpreter state during shutdown. That would then perhaps be a "wontfix" or "cantfix" because there is no good solution. But the missing socket attribute in SysLogHandler might cause other problems in the future - I'm just saying that the approach you suggested is, to me, preferable to the NullSocket approach to deal with a similar issue in this area.
History
Date User Action Args
2021-01-06 18:23:31vinay.sajipsetrecipients: + vinay.sajip, ronaldoussoren, jaraco, ned.deily, youtux, erlendaasland, alanr
2021-01-06 18:23:31vinay.sajipsetmessageid: <1609957411.16.0.721596702202.issue38780@roundup.psfhosted.org>
2021-01-06 18:23:31vinay.sajiplinkissue38780 messages
2021-01-06 18:23:31vinay.sajipcreate