Announcing asyncio-thread-runner: you can have a little async (as a treat)| death and gravity
namedtuple has been around since forever, and over time, its convenience saw it used far outside its originally intended purpose. With dataclasses now covering part of those use cases, what should one use named tuples for? In this article, I address this question, and give a few examples from real code.| death and gravity
In this article, we look at a heuristic for using classes in Python, with examples from real-world code, and some things to keep in mind.| death and gravity