Grokking Concurrency in Python
Vote

0% completed

​

Lost Tasks

Harvest's indexing task had processed one page, 4 words, when it stopped permanently. No exception reached the crawl, and nothing cancelled the task on purpose. The only trace was a message from asyncio on the error output:

Task was destroyed but it is pending!

The task had been created with asyncio.create_task, and it was waiting for the next page when it was destroyed. The program had not kept the object that create_task returned.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content