In trio, how can I have a background task that lives as long as my object does?

Excellent question! One of Trio’s weirdest, most controversial decisions is that it takes the position that the existence of a background task is not an implementation detail, and should be exposed as part of your API. On balance I think this is the right decision, but it’s definitely a bit experimental and has some trade-offs. … Read more

What is the core difference between asyncio and trio?

Where I’m coming from: I’m the primary author of trio. I’m also one of the top contributors to curio (and wrote the article about it that you link to), and a Python core dev who’s been heavily involved in discussions about how to improve asyncio. In trio (and curio), one of the core design principles … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)