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 mikeshardmind
Recipients asvetlov, mikeshardmind, yselivanov
Date 2020-01-07.15:56:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578412608.91.0.0874640388413.issue39232@roundup.psfhosted.org>
In-reply-to
Content
I don't know if it would be feasible to add this to asyncio, but having a way to mark a resource as needing to be deterministically cleaned up at loop close could probably solve this as well as the underlying reasons why the transports are leaning on __del__ behavior which is an implementation detail (differing on, for example, pypy) and probably improve the overall usefulness of asyncio.run as well.

An addition like that probably requires more discussion than fixing this crash though.
History
Date User Action Args
2020-01-07 15:56:48mikeshardmindsetrecipients: + mikeshardmind, asvetlov, yselivanov
2020-01-07 15:56:48mikeshardmindsetmessageid: <1578412608.91.0.0874640388413.issue39232@roundup.psfhosted.org>
2020-01-07 15:56:48mikeshardmindlinkissue39232 messages
2020-01-07 15:56:48mikeshardmindcreate