Message379986
> 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. |
|
Date |
User |
Action |
Args |
2020-10-30 17:01:05 | vstinner | set | recipients:
+ 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:05 | vstinner | set | messageid: <1604077265.25.0.784504049937.issue26789@roundup.psfhosted.org> |
2020-10-30 17:01:05 | vstinner | link | issue26789 messages |
2020-10-30 17:01:05 | vstinner | create | |
|