Each code snippet should run as a standalone example (based on Python 3.12).
The standard library caching decorator functools.lru_cache has known limitations when used with instance methods. In particular, the cache is a property of the class and holds re... (more…)
Read more »
In my last blog post I wrote about the power of D’s compile-time reflection and string mixins, showing how they could be used to call D from Python so easily it might as well be magic. As ama… (more…)
Read more »
This is mentioned during an exchange on Twitter with @brettcannon (which later spun into the Big Picture thread). I figure I should probably open a dedicated thread about this so more people know about it, and to summarise my ideas. The situation Python ... (more…)
Read more »
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. (more…)
Read more »
Lightweight fast function pipeline (DAG) creation in pure Python for scientific workflows 🕸️🧪 - pipefunc/pipefunc... (more…)
Read more »