Manage Any Number of Context Managers with contextlib.ExitStack
with statements are one of Pyt…
Notes, tutorials, and post-mortems on the things I build and break.
with statements are one of Pyt…
The problem: one blocking call…
The problem: threading.local l…
Why cache at all? Every time y…
The if/elif isinstance mess yo…
Python refuses a `list` defaul…
@contextmanager lets you build…
Counter overloads +,-,&,| — bu…
The smell everyone writes You …
itertools.groupby is fast and …