asyncio

Marko Rauhamaa marko at pacujo.net
Fri Mar 27 04:55:25 EDT 2015


Łukasz Ligowski <orangewarrior at gmail.com>:

> Is there a way to prune finished tasks (I tried forcing gc) or I do
> something wrong?

Guessing that you need to call asyncio.wait() or asyncio.wait_for() to
get rid of the zombies.

(Apparently the loop object keeps references to completed tasks. I'm not
sure this design choice is necessary.)


Marko



More information about the Python-list mailing list