News for hackers. Stuff that matters.
Re:Python and Async Simplified (2018) by aserafini on Saturday October 22, 2022 @07:16AM (#33297310)
Even if you want to ‘fire and forget’, it’s still essential to keep a reference to the task, otherwise it can be garbage collected mid-execution:

https://docs.python.org/3/library/asyncio-task.html#asyncio....

Re:Python and Async Simplified (2018) by rolobio on Saturday October 22, 2022 @10:23AM (#33298546)
Wow! Did not know this, guess I’ve got a couple fixes to make…