Gotchas of early-bound function argument defaults in Python

I was reading a tweet about it yesterday and that didn’t stop me from pushing a code change in production with the same rookie mistake today. Consider this function: # from __future__ import annotations import logging import time from datetime impo… Read more


Todo or Die – Python Edition

Python decorator for `TODO`s. Inspired by and - GitHub - achedeuzot/py-todo-or-die: Python decorator for `TODO`s. Ins... (more…)

Read more »