Author vstinner
Recipients Charles Bouchard-Légaré, JanVok, Peer Sommerlund, Sandeep, methane, r.david.murray, serhiy.storchaka, smurfix, veky, vinay.sajip, vstinner, yselivanov
Date 2020-10-30.17:01:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604077265.25.0.784504049937.issue26789@roundup.psfhosted.org>
In-reply-to
Content
> Issue26789. asyncio creates reference loops which caused to executing code late at shutdown, and that code uses logging which always fail.

Well, I suggest to attempt fixing logging.

The reference cycle in asyncio.Task.set_exception() is *by design*. It's really trick to fix it. Since the creation of asyncio, nobody managed to find a solution to fix it. Once I propose to create an asyncio task forcing a GC collection every minute, but it was never implemented.

If you have a clever idea to fix Task.set_exception() design, please open a separated issue.
History
Date User Action Args
2020-10-30 17:01:05vstinnersetrecipients: + vstinner, vinay.sajip, smurfix, r.david.murray, methane, serhiy.storchaka, yselivanov, veky, Peer Sommerlund, JanVok, Charles Bouchard-Légaré, Sandeep
2020-10-30 17:01:05vstinnersetmessageid: <1604077265.25.0.784504049937.issue26789@roundup.psfhosted.org>
2020-10-30 17:01:05vstinnerlinkissue26789 messages
2020-10-30 17:01:05vstinnercreate